Skip to content

Commit

Permalink
ci: id token
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse0Michael committed Dec 8, 2022
1 parent 610230d commit da66cb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
docker build \
--file ./build/Dockerfile \
-t docker.pkg.github.com/jesse0michael/fetcher/api:${REF##*/} \
-t us.gcr.io/${{ secrets.GCLOUD_PROJECT }}/fetcher:${REF##*/} .
-t us.gcr.io/${{ steps.auth.outputs.project_id }}/fetcher:${REF##*/} .
- name: Push Images
run: |
docker login docker.pkg.github.com -u Jesse0Michael -p ${{ secrets.PAT }}
docker push docker.pkg.github.com/jesse0michael/fetcher/api:${REF##*/}
docker login us.gcr.io -u Jesse0Michael -p ${{ steps.auth.outputs.access_token }}
docker push us.gcr.io/${{ secrets.GCLOUD_PROJECT }}/fetcher:${REF##*/}
docker login us.gcr.io -u Jesse0Michael -p ${{ steps.auth.outputs.id_token }}
docker push us.gcr.io/${{ steps.auth.outputs.project_id }}/fetcher:${REF##*/}
release-client:
env:
Expand Down

0 comments on commit da66cb8

Please sign in to comment.