From 5c10e6d33ad79d1a6b24ecd3295d5152516a0645 Mon Sep 17 00:00:00 2001 From: dotneft Date: Wed, 25 Aug 2021 02:23:53 +0300 Subject: [PATCH] Added Azure registry build action --- .github/workflows/Azure.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Azure.yml b/.github/workflows/Azure.yml index 219e16ef5..95b3a35e2 100644 --- a/.github/workflows/Azure.yml +++ b/.github/workflows/Azure.yml @@ -53,7 +53,11 @@ jobs: id: extract_branch shell: bash run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" - echo "##[set-output name=release_version;]$(echo ${GITHUB_REF#refs/tags/})" + + - name: Detect Zabbix version + id: extract_release + shell: bash + run: echo "##[set-output name=release_version;]$(echo ${GITHUB_REF#refs/tags/})" - name: ACR build (all) id: acr_push @@ -83,5 +87,5 @@ jobs: image: zabbix-${{ matrix.build }} folder: ${{ matrix.build }}/${{ matrix.os }} branch: ${{ github.ref }} - tag: v${{ steps.extract_branch.outputs.release_version}} + tag: v${{ steps.extract_release.outputs.release_version}} dockerfile: Dockerfile