The action must be exists only in trunk branch

This commit is contained in:
Alexey Pustovalov 2023-03-09 13:54:08 +09:00
parent b766dd9b82
commit 18802225dc

View File

@ -1,48 +0,0 @@
name: DockerHub Description
on:
push:
branches:
- 'trunk'
paths:
- 'Dockerfiles/*/README.md'
- '.github/workflows/dockerhub_description.yml'
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
env:
DOCKER_REPOSITORY: "zabbix"
strategy:
fail-fast: false
matrix:
build:
- 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:
-
uses: actions/checkout@v3
-
name: Update DockerHub repo description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ env.DOCKER_REPOSITORY }}/zabbix-${{ matrix.build }}
readme-filepath: ./Dockerfiles/${{ matrix.build }}/README.md