remember to pull before
This commit is contained in:
parent
22e7fbf274
commit
4aff68be93
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user