remember to pull before

This commit is contained in:
2022-08-21 16:45:28 +02:00
parent 22e7fbf274
commit 4aff68be93

View File

@@ -16,6 +16,7 @@ then
fi fi
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
docker pull "$latest_tag"
DOCKER_BUILDKIT=1 docker build --cache-from "$latest_tag" -t "$tag" -f "$TMP/build_release.Dockerfile" . DOCKER_BUILDKIT=1 docker build --cache-from "$latest_tag" -t "$tag" -f "$TMP/build_release.Dockerfile" .
docker tag "$tag" "$latest_tag" docker tag "$tag" "$latest_tag"