44 push :
55 paths :
66 - " README.md"
7+ - " README-containers.md"
78 - " .github/workflows/container_description.yml"
89 branches : [ main, master ]
910
1718 if : github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
1819 steps :
1920 - name : git checkout
20- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
21+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2122 - name : Set docker hub repo name
2223 run : echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV
2324 - name : Push README to Dockerhub
@@ -29,15 +30,17 @@ jobs:
2930 destination_container_repo : ${{ env.DOCKER_REPO_NAME }}
3031 provider : dockerhub
3132 short_description : ${{ env.DOCKER_REPO_NAME }}
32- readme_file : ' README.md'
33+ # Empty string results in README-containers.md being pushed if it
34+ # exists. Otherwise, README.md is pushed.
35+ readme_file : ' '
3336
3437 PushQuayIoReadme :
3538 runs-on : ubuntu-latest
3639 name : Push README to quay.io
3740 if : github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
3841 steps :
3942 - name : git checkout
40- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
43+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
4144 - name : Set quay.io org name
4245 run : echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV
4346 - name : Set quay.io repo name
4952 with :
5053 destination_container_repo : ${{ env.DOCKER_REPO_NAME }}
5154 provider : quay
52- readme_file : ' README.md'
55+ # Empty string results in README-containers.md being pushed if it
56+ # exists. Otherwise, README.md is pushed.
57+ readme_file : ' '
0 commit comments