Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ronykris committed Sep 1, 2024
1 parent 98897e3 commit 9632a49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ jobs:
#with:
# push: true
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/stock-prediction-api:latest
run: |
env:
IMAGE_ID: $(docker images -q stock-prediction-api:$(date +%s))
run: |
docker tag $IMAGE_ID ${{ secrets.DOCKERHUB_USERNAME }}/stock-prediction-api:latest
docker push ${{ secrets.DOCKERHUB_USERNAME }}/stock-prediction-api:latest
Expand Down

0 comments on commit 9632a49

Please sign in to comment.