Skip to content

Commit

Permalink
Update cd-prod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-alef committed Jun 5, 2023
1 parent ffe9d7e commit 2685993
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ jobs:
ssh azure 'sudo systemctl start java-api'
- name: Deploy Docker
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
docker build . -t kevinalef/java-api:latest
docker push kevinalef/java-api:latest

0 comments on commit 2685993

Please sign in to comment.