From 5a2d25e2572df16d5e36dac623752024c3204cca Mon Sep 17 00:00:00 2001 From: Corneil du Plessis <pcorneil@vmware.com> Date: Tue, 19 Sep 2023 23:14:40 +0200 Subject: [PATCH] Create build-images job. --- .github/workflows/build-image.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-image.sh b/.github/workflows/build-image.sh index 17802e335f..d35316bee3 100755 --- a/.github/workflows/build-image.sh +++ b/.github/workflows/build-image.sh @@ -70,16 +70,16 @@ for v in 8 11 17; do exit $RC fi echo "Created: $REPO:$TAG-jdk$v" - docker push "$IMAGE:$TAG-jdk$v" + docker push "$REPO:$TAG-jdk$v" RC=$? if ((RC!=0)); then exit $RC fi - echo "Pushed $IMAGE:$TAG-jdk$v" + echo "Pushed $REPO:$TAG-jdk$v" if [ "$DEFAULT_JDK" == "$v" ]; then - docker tag "$IMAGE:$TAG-jdk$DEFAULT_JDK" "$IMAGE:$TAG" - docker push "$IMAGE:$TAG" - echo "Pushed $IMAGE:$TAG" + docker tag "$REPO:$TAG-jdk$DEFAULT_JDK" "$REPO:$TAG" + docker push "$REPO:$TAG" + echo "Pushed $REPO:$TAG" fi done echo "Pruning Docker"