Skip to content

Commit 4d040bc

Browse files
committed
docker/login-action@
1 parent 17e4aaa commit 4d040bc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@ jobs:
2828
- name: Set up Google Cloud
2929
uses: google-github-actions/setup-gcloud@v2
3030

31-
- name: 'Use gcloud CLI'
32-
run: 'gcloud info'
31+
- name: Login to Artifact Registry
32+
uses: docker/login-action@v1
33+
with:
34+
registry: us-south1-docker.pkg.dev
35+
username: oauth2accesstoken
36+
password: ${{ steps.auth.outputs.access_token }}
3337

3438
- name: Build Docker image
3539
# run: gcloud builds submit --tag us-south1-docker.pkg.dev/api-tools-451421/runners/daily-update-events .

0 commit comments

Comments
 (0)