mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
change: Always pull images
This commit is contained in:
@@ -108,5 +108,7 @@ jobs:
|
||||
docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.env }}
|
||||
for f in ~/stack-config/*.yaml; do
|
||||
NAME=$(basename "$f" .yaml)
|
||||
IMAGE=$(grep -oE 'image: *[^ ]+' "$f" | sed 's/^image: *//')
|
||||
docker pull "$IMAGE"
|
||||
docker stack deploy -c "$f" "$NAME" --detach=false
|
||||
done
|
||||
Reference in New Issue
Block a user