Prepare universal workflow

This commit is contained in:
Alexey Pustovalov 2024-02-09 16:13:10 +09:00
parent 9517f415e1
commit 304f84d754

View File

@ -11,9 +11,11 @@ on:
env: env:
DOCKER_REPOSITORY: "zabbix" DOCKER_REPOSITORY: "zabbix"
DOCKERFILES_DIRECTORY: "./Dockerfiles"
jobs: jobs:
main: main:
name: Update description
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
DOCKER_REPOSITORY: "zabbix" DOCKER_REPOSITORY: "zabbix"
@ -57,4 +59,4 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ env.DOCKER_REPOSITORY }}/zabbix-${{ matrix.component }} repository: ${{ env.DOCKER_REPOSITORY }}/zabbix-${{ matrix.component }}
readme-filepath: ./Dockerfiles/${{ matrix.build }}/README.md readme-filepath: ${{ env.DOCKERFILES_DIRECTORY }}/${{ matrix.component }}/README.md