Skip to content

Commit 0582ced

Browse files
authored
Add Docker login step in deploy-prod (#17)
1 parent 4367b55 commit 0582ced

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/deploy-prod.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ jobs:
171171
- name: Navigate to Docker Compose directory
172172
run: cd "${{ secrets.DOCKER_DIR }}"
173173

174+
- name: Log in to Docker Hub
175+
# This uses the official Docker login action
176+
uses: docker/login-action@v3
177+
with:
178+
username: ${{ secrets.DOCKER_USERNAME }}
179+
password: ${{ secrets.DOCKER_PASSWORD }}
174180
- name: Pull latest Docker images
175181
run: |
176182
cd "${{ secrets.DOCKER_DIR }}"

0 commit comments

Comments
 (0)