Skip to content

Instantly share code, notes, and snippets.

@Klerith
Last active January 6, 2025 17:12
Show Gist options
  • Save Klerith/07371087699cbcdf50b748aa398e8443 to your computer and use it in GitHub Desktop.
Save Klerith/07371087699cbcdf50b748aa398e8443 to your computer and use it in GitHub Desktop.
Google Cloud - Build steps
steps:
- name: "gcr.io/cloud-builders/docker"
args:
[
"build",
"-t",
"XXXXX-docker.pkg.dev/project-name/registry/image-name",
"-f",
"dockerfile.prod",
"--platform=linux/amd64",
".",
]
- name: "gcr.io/cloud-builders/docker"
args:
[
"push",
"XXXXX-docker.pkg.dev/project-name/registry/image-name",
]
@Alejgl04
Copy link

Gracias perfecto !! funciono

@Nullises
Copy link

Gracias @patriciobo Funciono perfecto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment