2021-02-15 16:18:59 +01:00
|
|
|
name: DockerHub Description
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-02-15 16:20:31 +01:00
|
|
|
- 'trunk'
|
2021-02-15 16:18:59 +01:00
|
|
|
paths:
|
2023-03-07 09:31:49 +01:00
|
|
|
- 'Dockerfiles/*/README.md'
|
2021-10-16 00:11:57 +02:00
|
|
|
- '.github/workflows/dockerhub_description.yml'
|
2021-02-15 16:18:59 +01:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
main:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
DOCKER_REPOSITORY: "zabbix"
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
build:
|
2021-10-16 00:11:57 +02:00
|
|
|
- build-base
|
2021-10-16 00:13:09 +02:00
|
|
|
- build-mysql
|
|
|
|
- build-pgsql
|
|
|
|
- build-sqlite3
|
2021-02-15 16:18:59 +01:00
|
|
|
- agent
|
|
|
|
- agent2
|
2021-04-27 16:24:18 +02:00
|
|
|
- java-gateway
|
|
|
|
- proxy-mysql
|
|
|
|
- proxy-sqlite3
|
|
|
|
- server-mysql
|
|
|
|
- server-pgsql
|
|
|
|
- snmptraps
|
|
|
|
- web-apache-mysql
|
|
|
|
- web-apache-pgsql
|
2021-02-15 16:18:59 +01:00
|
|
|
- web-nginx-mysql
|
|
|
|
- web-nginx-pgsql
|
2021-04-27 16:24:18 +02:00
|
|
|
- web-service
|
2021-02-15 16:18:59 +01:00
|
|
|
steps:
|
|
|
|
-
|
2023-03-07 09:31:49 +01:00
|
|
|
uses: actions/checkout@v3
|
2021-02-15 16:18:59 +01:00
|
|
|
-
|
|
|
|
name: Update DockerHub repo description
|
2023-03-07 09:31:49 +01:00
|
|
|
uses: peter-evans/dockerhub-description@v3
|
2021-02-15 16:18:59 +01:00
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
repository: ${{ env.DOCKER_REPOSITORY }}/zabbix-${{ matrix.build }}
|
2023-03-07 09:31:49 +01:00
|
|
|
readme-filepath: ./Dockerfiles/${{ matrix.build }}/README.md
|