diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index e53dfb542..6ec215ba1 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -30,7 +30,7 @@ jobs: run: | echo "IMAGE_NAME=${REPO,,}" >> ${GITHUB_ENV} - # Using the following workaround because currently GitHub Actions + # Using the following workaround because currently GitHub Actions # does not support logical AND/OR operations on triggers # It's currently not possible to have `branches` under the `schedule` trigger - name: Checkout the release branch (on release) @@ -92,5 +92,6 @@ jobs: - name: Docker tag latest and push if: ${{ github.event_name == 'release' }} run: | + IMAGE_NAME="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}" docker tag $IMAGE_NAME:${{ github.ref_name }} $IMAGE_NAME:latest docker push $IMAGE_NAME:latest