Skip to content

Commit

Permalink
fix: change docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsbergPhilip committed Nov 14, 2024
1 parent 7d3ee40 commit 9a9b916
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ jobs:
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Tag docker images
run: |
docker tag diamonds2_frontend:latest etimodanielwinther/diamonds2_frontend:latest-${BRANCH_NAME}
docker tag diamonds2_frontend:latest etimodanielwinther/diamonds2_frontend:${BRANCH_NAME}-${{ github.sha }}
docker tag diamonds2_backend:latest etimodanielwinther/diamonds2_backend:latest-${BRANCH_NAME}
docker tag diamonds2_backend:latest etimodanielwinther/diamonds2_backend:${BRANCH_NAME}-${{ github.sha }}
docker tag diamonds2_frontend etimodanielwinther/diamonds2_frontend:latest-${BRANCH_NAME}
docker tag diamonds2_frontend etimodanielwinther/diamonds2_frontend:${BRANCH_NAME}-${{ github.sha }}
docker tag diamonds2_backend etimodanielwinther/diamonds2_backend:latest-${BRANCH_NAME}
docker tag diamonds2_backend etimodanielwinther/diamonds2_backend:${BRANCH_NAME}-${{ github.sha }}
- name: Push docker images
run: |
docker push etimodanielwinther/diamonds2_frontend:latest-${BRANCH_NAME}
Expand Down

0 comments on commit 9a9b916

Please sign in to comment.