Bumps [peter-evans/dockerhub-description](https://github.com/peter-evans/dockerhub-description) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/peter-evans/dockerhub-description/releases)
- [Commits](e98e4d1628...1b9a80c056)
---
updated-dependencies:
- dependency-name: peter-evans/dockerhub-description
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
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@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
|
|
with:
|
|
disable-sudo: true
|
|
egress-policy: block
|
|
allowed-endpoints: >
|
|
github.com:443
|
|
hub.docker.com:443
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Update DockerHub repo description (zabbix-${{ matrix.component }})
|
|
uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa # v5.0.0
|
|
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
|