Skip to content

Commit

Permalink
Github actions: use non-hardcoded path
Browse files Browse the repository at this point in the history
  • Loading branch information
fdabrandao authored Sep 14, 2024
1 parent 5233362 commit da7b51e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-streamlit-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
- name: Push Docker image to Artifact Registry
run: |
# gcloud auth print-access-token | docker login -u oauth2accesstoken --password-stdin https://${{ secrets.GCP_REGION }}-docker.pkg.dev
docker push us-central1-docker.pkg.dev/streamlit-app-434012/streamlit-app/streamlit-app:$GITHUB_SHA
#docker push ${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/streamlit-app/streamlit-app:$GITHUB_SHA
#docker push us-central1-docker.pkg.dev/streamlit-app-434012/streamlit-app/streamlit-app:$GITHUB_SHA
docker push ${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/streamlit-app/streamlit-app:$GITHUB_SHA
# Step 7: Deploy to Cloud Run using the Artifact Registry image
#- name: Deploy to Cloud Run
Expand Down

0 comments on commit da7b51e

Please sign in to comment.