mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-22 21:00:52 +01:00
Prepare universal workflow
This commit is contained in:
parent
ff26c3a539
commit
ceddc1aca4
20
.github/workflows/images_build.yml
vendored
20
.github/workflows/images_build.yml
vendored
@ -177,26 +177,6 @@ jobs:
|
||||
flavor: |
|
||||
latest=false
|
||||
|
||||
- name: Build ${{ env.BASE_BUILD_NAME }}/${{ matrix.os }} and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./Dockerfiles/${{ env.BASE_BUILD_NAME }}/${{ matrix.os }}
|
||||
file: ./Dockerfiles/${{ env.BASE_BUILD_NAME }}/${{ matrix.os }}/Dockerfile
|
||||
platforms: ${{ steps.platform.outputs.list }}
|
||||
push: ${{ secrets.AUTO_PUSH_IMAGES }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: |
|
||||
org.opencontainers.image.revision=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
|
||||
org.opencontainers.image.created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
|
||||
|
||||
|
||||
- name: Test Output
|
||||
id: meta
|
||||
run: |
|
||||
echo "${{ toJSON(steps.meta_release.conclusion) }}"
|
||||
echo "${{ steps.meta_trunk.outputs.tags }}"
|
||||
|
||||
- name: Build ${{ env.BASE_BUILD_NAME }}/${{ matrix.os }} and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v5
|
||||
|
Loading…
Reference in New Issue
Block a user