diff --git a/.github/workflows/build-release-image.yaml b/.github/workflows/build-release-image.yaml index f28aa3d..7c6c63a 100644 --- a/.github/workflows/build-release-image.yaml +++ b/.github/workflows/build-release-image.yaml @@ -39,5 +39,8 @@ jobs: 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: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: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:${{ github.event.release.tag_name }} + docker push ${{ secrets.DOCKERHUB_ORG }}/document-utils-api:${{ github.event.release.tag_name }}