mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-25 01:04:01 +01:00
Fixed tag generation for releases
This commit is contained in:
parent
66130fe5ac
commit
dfe8f28ee4
8
.github/workflows/images_build.yml
vendored
8
.github/workflows/images_build.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
os: ${{ steps.os.outputs.list }}
|
||||
database: ${{ steps.database.outputs.list }}
|
||||
components: ${{ steps.components.outputs.list }}
|
||||
is_default_branch: ${{ steps.branch_info.outputs.is_default }}
|
||||
current_branch: ${{ steps.branch_info.outputs.current_branch }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2.3.4
|
||||
@ -129,7 +129,7 @@ jobs:
|
||||
type=ref,event=branch,suffix=-${{ matrix.os }}-latest
|
||||
type=raw,enable=${{ needs.init_build.outputs.is_default_branch == 'true' }},value=${{matrix.os}}-latest
|
||||
flavor: |
|
||||
latest=${{ (matrix.os == 'alpine') && (needs.init_build.outputs.is_default_branch == 'true') }}
|
||||
latest=${{ (matrix.os == 'alpine') && (needs.init_build.outputs.current_branch == env.LATEST_BRANCH) }}
|
||||
|
||||
- name: Build ${{ env.BASE_BUILD_NAME }}/${{ matrix.os }} and push
|
||||
id: docker_build
|
||||
@ -202,7 +202,7 @@ jobs:
|
||||
type=ref,event=branch,suffix=-${{ matrix.os }}-latest
|
||||
type=raw,enable=${{ needs.init_build.outputs.is_default_branch == 'true' }},value=${{matrix.os}}-latest
|
||||
flavor: |
|
||||
latest=${{ (matrix.os == 'alpine') && (needs.init_build.outputs.is_default_branch == 'true') }}
|
||||
latest=${{ (matrix.os == 'alpine') && (needs.init_build.outputs.current_branch == env.LATEST_BRANCH) }}
|
||||
|
||||
- name: Download SHA256 tag build-base:${{ matrix.os }}
|
||||
uses: actions/download-artifact@v2.0.10
|
||||
@ -301,7 +301,7 @@ jobs:
|
||||
type=ref,event=branch,suffix=-${{ matrix.os }}-latest
|
||||
type=raw,enable=${{ needs.init_build.outputs.is_default_branch == 'true' }},value=${{matrix.os}}-latest
|
||||
flavor: |
|
||||
latest=${{ (matrix.os == 'alpine') && (needs.init_build.outputs.is_default_branch == 'true') }}
|
||||
latest=${{ (matrix.os == 'alpine') && (needs.init_build.outputs.current_branch == env.LATEST_BRANCH) }}
|
||||
|
||||
- name: Download SHA256 tag for ${{ steps.build_base_image.outputs.build_base }}:${{ matrix.os }}
|
||||
uses: actions/download-artifact@v2.0.10
|
||||
|
2
.github/workflows/images_build_windows.yml
vendored
2
.github/workflows/images_build_windows.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
outputs:
|
||||
os: ${{ steps.os.outputs.list }}
|
||||
components: ${{ steps.components.outputs.list }}
|
||||
is_default_branch: ${{ steps.branch_info.outputs.is_default }}
|
||||
current_branch_branch: ${{ steps.branch_info.outputs.current_branch }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2.3.4
|
||||
|
Loading…
Reference in New Issue
Block a user