From 4c7730ad1fc526a82e7aae52e03f9b61a6b02ee2 Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Wed, 8 May 2024 14:28:01 +0200 Subject: [PATCH] Update ghcr.yml --- .github/workflows/ghcr.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml index d616c74..9701bc7 100644 --- a/.github/workflows/ghcr.yml +++ b/.github/workflows/ghcr.yml @@ -16,6 +16,8 @@ jobs: build: runs-on: ubuntu-latest + outputs: + HEPLIFY_VERSION: ${{ steps.version.outputs.HEPLIFY_VERSION }} steps: - uses: actions/checkout@v3 @@ -51,7 +53,7 @@ jobs: - uses: actions/checkout@v3 - name: Version Check run: | - echo "${{ jobs.build.steps.version.outputs.HEPLIFY_VERSION }}" + echo "${{ needs.build.outputs.HEPLIFY_VERSION }}" - name: Set up Docker QEMU uses: docker/setup-qemu-action@v3.0.0 with: @@ -75,7 +77,7 @@ jobs: push: true tags: | ghcr.io/sipcapture/heplify-server:latest - ghcr.io/sipcapture/heplify-server:${{ jobs.build.steps.version.outputs.HEPLIFY_VERSION || github.event.release.tag_name }} + ghcr.io/sipcapture/heplify-server:${{ needs.build.outputs.HEPLIFY_VERSION || github.event.release.tag_name }} labels: | dev.heplify-server.image.title=heplify-server - dev.heplify-server.image.version=${{ jobs.build.steps.version.outputs.HEPLIFY_VERSION || github.event.release.tag_name }} + dev.heplify-server.image.version=${{needs.build.outputs.HEPLIFY_VERSION || github.event.release.tag_name }}