#Uknown command -- dagger init [GCP Cloud Run Deploymen]
1 messages · Page 1 of 1 (latest)
Heya @abstract sage, what tutorial were you following?
This tutorial illustrates how to use Dagger to build, push and deploy Docker images to Cloud Run.
aha, yeah, so these these docs are archived - in the banner, this is for dagger 0.1x
oh ! i didnt notice it. my bad.
I was using the up to date one.. closed it.. google the tutorial and the archived one was up in SEO
we've also ended support for the cue sdk - https://dagger.io/blog/ending-cue-support
instead, you can write your ci pipeline in whatever language you want
thanks!
oh no worries ❤️
hope the makefile conversion goes well 😄 i've had the idea sitting in the back of my head that it would be really cool to be able to automate that, but makefiles are generally just a bit of a pain to parse
hhhh i highly agree!
actually it's pretty simple:
''# Define variables
PROJECT_ID := project_id
REGION := region
REPO_NAME := tax
APP_NAME := app
Set default target
.DEFAULT_GOAL := deploy
Build Docker image
build:
gcloud builds submit
--tag gcr.io/$(PROJECT_ID)/$(APP_NAME)
--project=$(PROJECT_ID)
Deploy to Cloud Run
deploy:
gcloud run deploy $(APP_NAME)
--image gcr.io/$(PROJECT_ID)/$(APP_NAME)
--project=$(PROJECT_ID)
--region=$(REGION)
--platform managed
--allow-unauthenticated''