pull :main before stack deploy so swarm uses the freshly built image
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
291bdeffc0
commit
e8081baec1
1 file changed
+1
@@ -49,5 +49,6 @@ jobs:
|
||||
key: ${{ secrets.SSH_PRIV_KEY }}
|
||||
script: |
|
||||
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||
docker pull ghcr.io/token-for-token/hosted-gateway-frontend:main
|
||||
docker stack deploy -c ~/devops/hostinger/prod-stack.yaml prod --with-registry-auth --resolve-image always
|
||||
docker image prune -f --filter "until=24h"
|
||||
Reference in new issue
Block a user