mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-10 06:50:00 +01:00
Added Azure registry build action
This commit is contained in:
parent
d6ffab08c4
commit
759c172c09
6
.github/workflows/Azure.yml
vendored
6
.github/workflows/Azure.yml
vendored
@ -67,12 +67,12 @@ jobs:
|
|||||||
image: zabbix-${{ matrix.build }}
|
image: zabbix-${{ matrix.build }}
|
||||||
folder: ${{ matrix.build }}/${{ matrix.os }}
|
folder: ${{ matrix.build }}/${{ matrix.os }}
|
||||||
branch: ${{ steps.extract_branch.outputs.branch }}
|
branch: ${{ steps.extract_branch.outputs.branch }}
|
||||||
tag: ${{ steps.extract_branch.outputs.branch }}
|
tag: v${{ steps.extract_branch.outputs.branch }}
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
- name: ACR build (release)
|
- name: ACR build (release)
|
||||||
if: github.event_name == 'release' && github.event.action == 'published'
|
if: github.event_name == 'release' && github.event.action == 'published'
|
||||||
id: acr_push
|
id: acr_release
|
||||||
uses: ams0/acr-task-github-action@v2
|
uses: ams0/acr-task-github-action@v2
|
||||||
with:
|
with:
|
||||||
service_principal: ${{ secrets.azure_service_principal }}
|
service_principal: ${{ secrets.azure_service_principal }}
|
||||||
@ -83,5 +83,5 @@ jobs:
|
|||||||
image: zabbix-${{ matrix.build }}
|
image: zabbix-${{ matrix.build }}
|
||||||
folder: ${{ matrix.build }}/${{ matrix.os }}
|
folder: ${{ matrix.build }}/${{ matrix.os }}
|
||||||
branch: ${{ github.ref }}
|
branch: ${{ github.ref }}
|
||||||
tag: ${{ steps.extract_branch.outputs.release_version}}
|
tag: v${{ steps.extract_branch.outputs.release_version}}
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
Loading…
Reference in New Issue
Block a user