From f6c4538b9cd744810c466c7d6b085aa938e614e1 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sun, 22 Aug 2021 20:28:44 +0100 Subject: [PATCH] github action: fix for uploaded to gh packages --- .github/workflows/test_and_publish.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index fe819aff..5def9fe3 100644 --- a/.github/workflows/test_and_publish.yml +++ b/.github/workflows/test_and_publish.yml @@ -201,9 +201,9 @@ jobs: if: startsWith(github.ref, 'refs/tags/') run: | for image in postgresql backend web do; do - docker push netdisco/${IMAGE_ROOT}-$image + docker push netdisco/${IMAGE_ROOT}-$image docker tag ${IMAGE_ROOT}-$image netdisco/netdisco:latest-$image - docker push netdisco/netdisco:latest-$image + docker push netdisco/netdisco:latest-$image done continue-on-error: true @@ -219,10 +219,10 @@ jobs: if: startsWith(github.ref, 'refs/tags/') run: | for image in postgresql backend web do; do - docker tag ${IMAGE_ROOT}-$image ghcr.io/netdisco/netdisco:${IMAGE_ROOT}-$image - docker push ghcr.io/netdisco/${IMAGE_ROOT}-$image - docker tag ${IMAGE_ROOT}-$image ghcr.io/netdisco/netdisco:latest-$image - docker push ghcr.io/netdisco/netdisco:latest-$image + docker tag ${IMAGE_ROOT}-$image ghcr.io/netdisco/${IMAGE_ROOT}-$image + docker push ghcr.io/netdisco/${IMAGE_ROOT}-$image + docker tag ${IMAGE_ROOT}-$image ghcr.io/netdisco/netdisco:latest-$image + docker push ghcr.io/netdisco/netdisco:latest-$image done continue-on-error: true