Bumps [peter-evans/dockerhub-description](https://github.com/peter-evans/dockerhub-description) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/peter-evans/dockerhub-description/releases)
- [Commits](e98e4d1628...432a30c9e0)
---
updated-dependencies:
- dependency-name: peter-evans/dockerhub-description
dependency-version: 4.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
71 lines
1.9 KiB
YAML
71 lines
1.9 KiB
YAML
name: DockerHub Description
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'trunk'
|
|
paths:
|
|
- 'Dockerfiles/*/README.md'
|
|
- '.github/workflows/dockerhub_description.yml'
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
DOCKER_REPOSITORY: "zabbix"
|
|
IMAGES_PREFIX: "zabbix-"
|
|
DOCKERFILES_DIRECTORY: "./Dockerfiles"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
main:
|
|
name: Update description
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
DOCKER_REPOSITORY: "zabbix"
|
|
permissions:
|
|
contents: read
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
component:
|
|
- build-base
|
|
- build-mysql
|
|
- build-pgsql
|
|
- build-sqlite3
|
|
- agent
|
|
- agent2
|
|
- java-gateway
|
|
- proxy-mysql
|
|
- proxy-sqlite3
|
|
- server-mysql
|
|
- server-pgsql
|
|
- snmptraps
|
|
- web-apache-mysql
|
|
- web-apache-pgsql
|
|
- web-nginx-mysql
|
|
- web-nginx-pgsql
|
|
- web-service
|
|
steps:
|
|
- name: Block egress traffic
|
|
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
|
|
with:
|
|
disable-sudo: true
|
|
egress-policy: block
|
|
allowed-endpoints: >
|
|
github.com:443
|
|
hub.docker.com:443
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Update DockerHub repo description (zabbix-${{ matrix.component }})
|
|
uses: peter-evans/dockerhub-description@432a30c9e07499fd01da9f8a49f0faf9e0ca5b77 # v4.0.2
|
|
with:
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
repository: ${{ env.DOCKER_REPOSITORY }}/${{ env.IMAGES_PREFIX }}${{ matrix.component }}
|
|
readme-filepath: ${{ env.DOCKERFILES_DIRECTORY }}/${{ matrix.component }}/README.md
|