Skip to content

Commit

Permalink
Different approach for docker authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
a26blass committed Apr 25, 2024
1 parent c779d62 commit 5e9e0bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
project_id: ${{ env.GCP_PROJECT_ID }}
- name: Configure Docker with GCloud CLI
run: |
gcloud auth configure-docker --quiet us-east1-docker.pkg.dev
gcloud auth print-access-token | docker login -u oauth2accesstoken --password-stdin https://us-east1-docker.pkg.dev
- name: Push docker image to GCR
run: |
docker push gcr.io/${{ env.GCP_PROJECT_ID }}/${{ env.IMAGE_NAME }}:${{ env.DOCKER_TAG }}
Expand Down
2 changes: 1 addition & 1 deletion views/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ html(lang="en")
header
h1 Welcome to Alex's Website
main
p This is the main content of my website. (SAMPLE TEXT 1)
p This is the main content of my website. (SAMPLE TEXT 2)
footer
p Updated 04/26/2024 : 23:07

0 comments on commit 5e9e0bd

Please sign in to comment.