with push
This commit is contained in:
parent
f32ffa466d
commit
f0a5ca6900
@ -10,5 +10,7 @@ tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
|
|||||||
latest_tag="$REGISTRY/$SERVICE:latest"
|
latest_tag="$REGISTRY/$SERVICE:latest"
|
||||||
|
|
||||||
docker build -t "$tag" --cache-from "$latest_tag" -f $TMP/build_docker.Dockerfile .
|
docker build -t "$tag" --cache-from "$latest_tag" -f $TMP/build_docker.Dockerfile .
|
||||||
docker tag "$tag" "$latest_tag"
|
docker tag "$tag" "$latest_tag"
|
||||||
docker push "$tag" "$latest_tag"
|
docker push "$tag" &
|
||||||
|
docker push "$latest_tag" &
|
||||||
|
wait
|
||||||
|
Loading…
Reference in New Issue
Block a user