From 64be63686fa5a7fe291589b15121c2967801acd6 Mon Sep 17 00:00:00 2001 From: Andris Reinman <andris@reinman.eu> Date: Thu, 5 Oct 2023 13:12:37 +0300 Subject: [PATCH] fix(docker): moved docker release workflow under release workflow --- .github/workflows/release.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7f1e5a7d..72350e1a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,9 +46,8 @@ jobs: needs: release_please if: ${{needs.release_please.outputs.release_created}} steps: - - run: echo major ${{needs.release_please.outputs.major}} - - run: echo minor ${{needs.release_please.outputs.minor}} - - run: echo patch ${{needs.release_please.outputs.patch}} + - run: echo version v${{needs.release_please.outputs.major}}.${{needs.release_please.outputs.minor}}.${{needs.release_please.outputs.patch}} + - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: @@ -80,6 +79,6 @@ jobs: platforms: ${{ steps.buildx.outputs.platforms }} push: true tags: | - ${{ github.repository }}:{{steps.release.outputs.major}}.{{steps.release.outputs.minor}}.{{steps.release.outputs.patch}} - ${{ github.repository }}:{{steps.release.outputs.major}}.{{steps.release.outputs.minor}} - ${{ github.repository }}:{{steps.release.outputs.major}} + ${{ github.repository }}:${{needs.release_please.outputs.major}}.${{needs.release_please.outputs.minor}}.${{needs.release_please.outputs.patch}} + ${{ github.repository }}:${{needs.release_please.outputs.major}}.${{needs.release_please.outputs.minor}} + ${{ github.repository }}:${{needs.release_please.outputs.major}}