with push
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing

This commit is contained in:
Kasper Juul Hermansen 2022-08-21 16:11:56 +02:00
parent f32ffa466d
commit f0a5ca6900
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -10,5 +10,7 @@ tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
latest_tag="$REGISTRY/$SERVICE:latest"
docker build -t "$tag" --cache-from "$latest_tag" -f $TMP/build_docker.Dockerfile .
docker tag "$tag" "$latest_tag"
docker push "$tag" "$latest_tag"
docker tag "$tag" "$latest_tag"
docker push "$tag" &
docker push "$latest_tag" &
wait