Skip to content

Commit

Permalink
Login on all stages, not just the prod one :)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesir87 committed Dec 11, 2024
1 parent e9b0a48 commit 7dc15b3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pipeline-docker-cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ jobs:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Do the deploy
run: |
echo "Do the staging deployment here. Would deploy image ${IMAGE_TAG}"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pipeline-gha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ jobs:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Do the deploy
run: |
echo "Do the staging deployment here. Would deploy image ${IMAGE_TAG}"
Expand Down

0 comments on commit 7dc15b3

Please sign in to comment.