Skip to content

Commit 62e2f49

Browse files
grahamalamadlactin
andauthored
@dlactin review suggestions
Co-authored-by: Dustin Lactin <dlactin@mozilla.com>
1 parent 6155968 commit 62e2f49

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker-push/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- name: Checkout code
2424
uses: actions/checkout@v4
25+
with:
26+
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }}
2527
- name: Build Docker image
2628
id: build
2729
run: ...
@@ -33,7 +35,6 @@ jobs:
3335
image_tags: |
3436
us-docker.pkg.dev/moz-fx-tenant-realm/tenant-realm/my-image:latest
3537
us-docker.pkg.dev/moz-fx-tenant-realm/tenant-realm/my-image:v1.0.0
36-
workload_identity_pool_project_number: 123456789012
3738
project_id: moz-fx-tenant-realm
38-
deployment_env: ${{ vars.GCPV2_WORKLOAD_IDENTITY_POOL_PROJECT_NUMBER }}
39+
workload_identity_pool_project_number: ${{ vars.GCPV2_WORKLOAD_IDENTITY_POOL_PROJECT_NUMBER }}
3940
```

0 commit comments

Comments
 (0)