Compare commits
No commits in common. "99128a5fd9dc05b70bfe49808938f80f1f8d9d64" and "955f8d1a9153e8eb9e64dd6062b4d63773472176" have entirely different histories.
99128a5fd9
...
955f8d1a91
2 changed files with 6 additions and 7 deletions
|
|
@ -56,9 +56,8 @@ jobs:
|
|||
working-directory: ${{ env.DEPLOY_DIR }}
|
||||
run: |
|
||||
docker compose build --pull
|
||||
# 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}"
|
||||
docker tag "server-up:${VERSION}" server-up:latest
|
||||
docker tag "server-up:${VERSION}" "server-up:${CHANNEL}"
|
||||
|
||||
- name: Deploy
|
||||
working-directory: ${{ env.DEPLOY_DIR }}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
- name: Sync code naar deploy-directory
|
||||
run: |
|
||||
set -euo pipefail
|
||||
rsync -a --no-group --delete \
|
||||
rsync -a --delete \
|
||||
--exclude='.git/' \
|
||||
--exclude='.forgejo/' \
|
||||
./ "$DEPLOY_DIR/"
|
||||
|
|
@ -56,9 +56,9 @@ jobs:
|
|||
working-directory: ${{ env.DEPLOY_DIR }}
|
||||
run: |
|
||||
docker compose build --pull
|
||||
# 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}"
|
||||
# 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}"
|
||||
|
||||
- name: Deploy
|
||||
working-directory: ${{ env.DEPLOY_DIR }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue