Skip to content

Commit

Permalink
fix: fix ci cd, command to push on hub docker
Browse files Browse the repository at this point in the history
  • Loading branch information
syafiqparadisam committed May 5, 2024
1 parent fadfbbe commit 41ea129
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
run: docker login -u ${{secrets.DOCKER_USERNAME}} -p ${{secrets.DOCKER_PASSWORD}}

- name: Build history service application, and deploy to dockerhub
run: |
docker build -t portofolio:${{secrets.DOCKER_TAGS_APP}} .
docker push ${{secrets.DOCKER_USERNAME}}/portofolio:${{secrets.DOCKER_TAGS_APP}}
run: docker build -t portofolio:${{secrets.DOCKER_TAGS_APP}} .

- name: Deploy to docker hub
run: docker push ${{secrets.DOCKER_USERNAME}}/portofolio:${{secrets.DOCKER_TAGS_APP}}

0 comments on commit 41ea129

Please sign in to comment.