Fix: Force pull images in deploy workflow
All checks were successful
Build and Push / build-all (push) Successful in 18s
All checks were successful
Build and Push / build-all (push) Successful in 18s
This commit is contained in:
parent
52fa815b3e
commit
48d5aec90c
1 changed files with 4 additions and 4 deletions
|
|
@ -117,11 +117,11 @@ jobs:
|
|||
# Login to registry
|
||||
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
|
||||
|
||||
# Pull latest images
|
||||
docker compose pull
|
||||
# Pull latest images (force to bypass cache)
|
||||
docker compose pull --ignore-pull-failures
|
||||
|
||||
# Bring up services with zero-downtime restart
|
||||
docker compose up -d --remove-orphans
|
||||
# Bring up services with fresh images
|
||||
docker compose up -d --pull always --remove-orphans
|
||||
|
||||
# Prune old images
|
||||
docker image prune -f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue