From 5110733892973ee99bbfc16e0abb9f226162aac7 Mon Sep 17 00:00:00 2001 From: akroon3r Date: Sun, 29 Nov 2020 00:25:52 -0800 Subject: [PATCH 1/2] confusion++ --- .github/workflows/build-release-image.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-release-image.yaml b/.github/workflows/build-release-image.yaml index f28aa3d..d007e48 100644 --- a/.github/workflows/build-release-image.yaml +++ b/.github/workflows/build-release-image.yaml @@ -38,6 +38,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | + docker-compose build document-utils-api + docker tag jag-document-utils_document-utils-api:latest ${{ secrets.DOCKERHUB_ORG }}/document-utils-api:latest + docker push ${{ secrets.DOCKERHUB_ORG }}/document-utils-api:latest docker-compose build document-utils-api docker tag jag-document-utils_document-utils-api:latest ${{ secrets.DOCKERHUB_ORG }}/document-utils-api:abc docker push ${{ secrets.DOCKERHUB_ORG }}/document-utils-api:abc From a2aa1beafddd0a9e324d5475e051acf9de3d55e7 Mon Sep 17 00:00:00 2001 From: akroon3r Date: Sun, 29 Nov 2020 00:26:27 -0800 Subject: [PATCH 2/2] even more confusion --- .github/workflows/build-release-image.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release-image.yaml b/.github/workflows/build-release-image.yaml index d007e48..7c6c63a 100644 --- a/.github/workflows/build-release-image.yaml +++ b/.github/workflows/build-release-image.yaml @@ -42,5 +42,5 @@ jobs: docker tag jag-document-utils_document-utils-api:latest ${{ secrets.DOCKERHUB_ORG }}/document-utils-api:latest docker push ${{ secrets.DOCKERHUB_ORG }}/document-utils-api:latest docker-compose build document-utils-api - docker tag jag-document-utils_document-utils-api:latest ${{ secrets.DOCKERHUB_ORG }}/document-utils-api:abc - docker push ${{ secrets.DOCKERHUB_ORG }}/document-utils-api:abc + docker tag jag-document-utils_document-utils-api:latest ${{ secrets.DOCKERHUB_ORG }}/document-utils-api:${{ github.event.release.tag_name }} + docker push ${{ secrets.DOCKERHUB_ORG }}/document-utils-api:${{ github.event.release.tag_name }}