Compare commits
5 Commits
0009680eaf
...
7d8722d995
Author | SHA1 | Date | |
---|---|---|---|
7d8722d995 | |||
72a685799c | |||
1d8b1e8613 | |||
4aff68be93 | |||
22e7fbf274 |
@ -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"
|
docker tag "$tag" "$latest_tag"
|
||||||
|
@ -12,7 +12,5 @@ echo "docker: logging in"
|
|||||||
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
|
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
|
||||||
|
|
||||||
echo "docker: pushing image $tag"
|
echo "docker: pushing image $tag"
|
||||||
docker push "$tag" &
|
docker push --all-tags "$base_tag"
|
||||||
docker push "$latest_tag" &
|
|
||||||
wait
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM rust:1.62.1-slim-buster as builder
|
FROM rust:1.62.1-slim-buster
|
||||||
|
|
||||||
RUN apt-get update && apt-get upgrade -y
|
RUN apt-get update && apt-get upgrade -y
|
||||||
RUN apt-get install libssl-dev
|
RUN apt-get install libssl-dev
|
||||||
|
Loading…
Reference in New Issue
Block a user