Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tf-build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benedikt Wildenhain
tf-build
Commits
467e5a79
Unverified
Commit
467e5a79
authored
3 years ago
by
Austin Anderson
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Clarify
parent
f7f69ad7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/docker-presubmit.yml
+4
-3
4 additions, 3 deletions
.github/workflows/docker-presubmit.yml
with
4 additions
and
3 deletions
.github/workflows/docker-presubmit.yml
+
4
−
3
View file @
467e5a79
name
:
Docker
p
resubmit
& push to gcr
name
:
Docker
P
resubmit
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
:
I
mage digest
name
:
Print i
mage digest
run
:
echo ${{ steps.docker_build.outputs.digest }}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment