Skip to content
Snippets Groups Projects
Unverified Commit 467e5a79 authored by Austin Anderson's avatar Austin Anderson Committed by GitHub
Browse files

Clarify

parent f7f69ad7
No related branches found
No related tags found
No related merge requests found
name: Docker presubmit & push to gcr
name: Docker Presubmit
on:
pull_request:
......@@ -23,13 +23,14 @@ jobs:
uses: docker/setup-buildx-action@v1
-
name: Login to GCR
if: contains(github.event.pull_request.labels.*.name, 'build and push to gcr.io for staging')
uses: docker/login-action@v1
with:
registry: gcr.io
username: _json_key
password: ${{ secrets.GCP_CREDS }}
-
name: Build and push
name: Build containers, and push to GCR only if the 'build and push to gcr.io for staging' label is applied
id: docker_build
uses: docker/build-push-action@v2
with:
......@@ -59,5 +60,5 @@ jobs:
Re-apply the `build and push to gcr.io for staging` label to rebuild and push again. This comment will only be posted once.
-
name: Image digest
name: Print image digest
run: echo ${{ steps.docker_build.outputs.digest }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment