Skip to content

Instantly share code, notes, and snippets.

@mr-pascal
Created July 3, 2022 08:51
Show Gist options
  • Save mr-pascal/0f0788e42fc5c7b5fdfd8951ac83ae39 to your computer and use it in GitHub Desktop.
Save mr-pascal/0f0788e42fc5c7b5fdfd8951ac83ae39 to your computer and use it in GitHub Desktop.
steps:
# Build the container image and push it with Kaniko
- name: 'gcr.io/kaniko-project/executor:latest'
args:
- --cache=true
- --dockerfile=${_DOCKER_FILE}
- --build-arg=SRC_DIR=${_APP}
- --destination=eu.gcr.io/$PROJECT_ID/${_APP}:$COMMIT_SHA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment