mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-05-31 07:07:04 +02:00
Prepare universal workflow
This commit is contained in:
parent
4717a0784f
commit
9517f415e1
22
.github/workflows/dockerhub_description.yml
vendored
22
.github/workflows/dockerhub_description.yml
vendored
@ -9,15 +9,20 @@ on:
|
||||
- '.github/workflows/dockerhub_description.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
DOCKER_REPOSITORY: "zabbix"
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DOCKER_REPOSITORY: "zabbix"
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
build:
|
||||
component:
|
||||
- build-base
|
||||
- build-mysql
|
||||
- build-pgsql
|
||||
@ -36,13 +41,20 @@ jobs:
|
||||
- web-nginx-pgsql
|
||||
- web-service
|
||||
steps:
|
||||
-
|
||||
- name: Block egress traffic
|
||||
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: Update DockerHub repo description
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Update DockerHub repo description (zabbix-${{ matrix.component }})
|
||||
uses: peter-evans/dockerhub-description@v4
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
repository: ${{ env.DOCKER_REPOSITORY }}/zabbix-${{ matrix.build }}
|
||||
repository: ${{ env.DOCKER_REPOSITORY }}/zabbix-${{ matrix.component }}
|
||||
readme-filepath: ./Dockerfiles/${{ matrix.build }}/README.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user