From f79e05b0d37e253e5522561962c7db8998dc58c3 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Mon, 4 Nov 2024 17:12:55 +0000 Subject: [PATCH] Fix CI for tagging major versions --- .github/workflows/_docker-build-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_docker-build-deploy.yml b/.github/workflows/_docker-build-deploy.yml index 2ab629f..5752496 100644 --- a/.github/workflows/_docker-build-deploy.yml +++ b/.github/workflows/_docker-build-deploy.yml @@ -97,12 +97,12 @@ jobs: runnumber=${{ github.run_id }} build-args: | BASE_IMAGE=${{ inputs.base-image }} - BASE_IMAGE_TAG=${{ env.VERSION_MAJOR }} + BASE_IMAGE_TAG=${{ env.MAJOR_VERSION }} TNA_DOCKER_IMAGE_VERSION=${{ env.TAG }} TNA_DOCKER_IMAGE_SOURCE=${{ github.server_url }}/${{ github.repository }}/blob/main/${{ inputs.docker-context }}/${{ inputs.dockerfile }} USER_IMAGE=${{ inputs.user-image }} push: true - tags: ${{ env.IMAGE_ID }}:${{ env.VERSION_MAJOR }} + tags: ${{ env.IMAGE_ID }}:${{ env.MAJOR_VERSION }} provenance: false - name: Tag minor version if: inputs.publish && startsWith(github.ref, 'refs/tags/')