diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 45e667f521..a01c8d8270 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -190,25 +190,15 @@ jobs: with: path: frontend - - name: 🏷️ Generate Tag - id: generate_tag - run: echo "TAG_WEB=${{ steps.ocv-web.outputs.current-version }}" >> $GITHUB_ENV - - - name: 🏷️ Print Tag - run: echo $TAG_WEB - - - name: Conditionally Set Tag + - name: 🏷️ Conditionally Set Tag id: set_tag run: | if [[ "${{ matrix.configuration.build_configuration }}" == "staging" ]]; then - echo "FINAL_TAG=staging-${TAG_WEB}" >> $GITHUB_ENV + echo "FINAL_TAG=staging-${{ steps.ocv-web.outputs.current-version }}" >> $GITHUB_ENV else echo "FINAL_TAG=${{ steps.meta.outputs.version }}" >> $GITHUB_ENV fi - - name: 🏷️ Print Final Tag - run: echo $FINAL_TAG - - name: Download digests uses: actions/download-artifact@v4 with: @@ -245,6 +235,9 @@ jobs: run: | docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ $(printf '${{ env.REGISTRY_FRONTEND_IMAGE }}@sha256:%s ' *) + # Push the new image tag + docker buildx imagetools create --tag ${{ env.REGISTRY_FRONTEND_IMAGE }}:${{ env.FINAL_TAG }} \ + $(printf '${{ env.REGISTRY_FRONTEND_IMAGE }}@sha256:%s ' *) - name: Inspect image run: | diff --git a/frontend/package.json b/frontend/package.json index d390e7d898..01aac332fe 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "0.8.7", + "version": "0.8.8", "scripts": { "install:deps": "npm install", "start": "npm install && ng serve --configuration local --open",