fix: docker tag van latest naar versie, niet andersom
All checks were successful
Deploy server-up (dev) / deploy (push) Successful in 21s
All checks were successful
Deploy server-up (dev) / deploy (push) Successful in 21s
This commit is contained in:
parent
0f3bf8527f
commit
99128a5fd9
2 changed files with 6 additions and 5 deletions
|
|
@ -56,8 +56,9 @@ jobs:
|
|||
working-directory: ${{ env.DEPLOY_DIR }}
|
||||
run: |
|
||||
docker compose build --pull
|
||||
docker tag "server-up:${VERSION}" server-up:latest
|
||||
docker tag "server-up:${VERSION}" "server-up:${CHANNEL}"
|
||||
# docker compose bouwt als server-up:latest; voeg versie- en channel-tags toe
|
||||
docker tag server-up:latest "server-up:${VERSION}"
|
||||
docker tag server-up:latest "server-up:${CHANNEL}"
|
||||
|
||||
- name: Deploy
|
||||
working-directory: ${{ env.DEPLOY_DIR }}
|
||||
|
|
|
|||
|
|
@ -56,9 +56,9 @@ jobs:
|
|||
working-directory: ${{ env.DEPLOY_DIR }}
|
||||
run: |
|
||||
docker compose build --pull
|
||||
# Extra tags zodat 'latest' altijd op de laatste deploy wijst
|
||||
docker tag "server-up:${VERSION}" server-up:latest
|
||||
docker tag "server-up:${VERSION}" "server-up:${CHANNEL}"
|
||||
# docker compose bouwt als server-up:latest; voeg versie- en channel-tags toe
|
||||
docker tag server-up:latest "server-up:${VERSION}"
|
||||
docker tag server-up:latest "server-up:${CHANNEL}"
|
||||
|
||||
- name: Deploy
|
||||
working-directory: ${{ env.DEPLOY_DIR }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue