mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-01 23:56:05 +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'
|
- '.github/workflows/dockerhub_description.yml'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
DOCKER_REPOSITORY: "zabbix"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
DOCKER_REPOSITORY: "zabbix"
|
DOCKER_REPOSITORY: "zabbix"
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
build:
|
component:
|
||||||
- build-base
|
- build-base
|
||||||
- build-mysql
|
- build-mysql
|
||||||
- build-pgsql
|
- build-pgsql
|
||||||
@ -36,13 +41,20 @@ jobs:
|
|||||||
- web-nginx-pgsql
|
- web-nginx-pgsql
|
||||||
- web-service
|
- web-service
|
||||||
steps:
|
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
|
uses: actions/checkout@v4
|
||||||
-
|
with:
|
||||||
name: Update DockerHub repo description
|
fetch-depth: 1
|
||||||
|
|
||||||
|
- name: Update DockerHub repo description (zabbix-${{ matrix.component }})
|
||||||
uses: peter-evans/dockerhub-description@v4
|
uses: peter-evans/dockerhub-description@v4
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
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
|
readme-filepath: ./Dockerfiles/${{ matrix.build }}/README.md
|
||||||
|
Loading…
x
Reference in New Issue
Block a user