mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-28 23:19:41 -08:00
d60cdcdac8
Some checks failed
CI / Go tests (push) Has been cancelled
CI / More Go tests (push) Has been cancelled
CI / Go tests with previous Go version (push) Has been cancelled
CI / UI tests (push) Has been cancelled
CI / Go tests on Windows (push) Has been cancelled
CI / Mixins tests (push) Has been cancelled
CI / Build Prometheus for common architectures (0) (push) Has been cancelled
CI / Build Prometheus for common architectures (1) (push) Has been cancelled
CI / Build Prometheus for common architectures (2) (push) Has been cancelled
CI / Build Prometheus for all architectures (0) (push) Has been cancelled
CI / Build Prometheus for all architectures (1) (push) Has been cancelled
CI / Build Prometheus for all architectures (10) (push) Has been cancelled
CI / Build Prometheus for all architectures (11) (push) Has been cancelled
CI / Build Prometheus for all architectures (2) (push) Has been cancelled
CI / Build Prometheus for all architectures (3) (push) Has been cancelled
CI / Build Prometheus for all architectures (4) (push) Has been cancelled
CI / Build Prometheus for all architectures (5) (push) Has been cancelled
CI / Build Prometheus for all architectures (6) (push) Has been cancelled
CI / Build Prometheus for all architectures (7) (push) Has been cancelled
CI / Build Prometheus for all architectures (8) (push) Has been cancelled
CI / Build Prometheus for all architectures (9) (push) Has been cancelled
CI / Check generated parser (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / fuzzing (push) Has been cancelled
CI / codeql (push) Has been cancelled
CI / Report status of build Prometheus for all architectures (push) Has been cancelled
CI / Publish main branch artifacts (push) Has been cancelled
CI / Publish release artefacts (push) Has been cancelled
CI / Publish UI on npm Registry (push) Has been cancelled
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](d632683dd7...11bd71901b
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
58 lines
2.3 KiB
YAML
58 lines
2.3 KiB
YAML
---
|
|
name: Push README to Docker Hub
|
|
on:
|
|
push:
|
|
paths:
|
|
- "README.md"
|
|
- "README-containers.md"
|
|
- ".github/workflows/container_description.yml"
|
|
branches: [ main, master ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
PushDockerHubReadme:
|
|
runs-on: ubuntu-latest
|
|
name: Push README to Docker Hub
|
|
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
|
|
steps:
|
|
- name: git checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
- name: Set docker hub repo name
|
|
run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV
|
|
- name: Push README to Dockerhub
|
|
uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1
|
|
env:
|
|
DOCKER_USER: ${{ secrets.DOCKER_HUB_LOGIN }}
|
|
DOCKER_PASS: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
|
with:
|
|
destination_container_repo: ${{ env.DOCKER_REPO_NAME }}
|
|
provider: dockerhub
|
|
short_description: ${{ env.DOCKER_REPO_NAME }}
|
|
# Empty string results in README-containers.md being pushed if it
|
|
# exists. Otherwise, README.md is pushed.
|
|
readme_file: ''
|
|
|
|
PushQuayIoReadme:
|
|
runs-on: ubuntu-latest
|
|
name: Push README to quay.io
|
|
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
|
|
steps:
|
|
- name: git checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
- name: Set quay.io org name
|
|
run: echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV
|
|
- name: Set quay.io repo name
|
|
run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV
|
|
- name: Push README to quay.io
|
|
uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1
|
|
env:
|
|
DOCKER_APIKEY: ${{ secrets.QUAY_IO_API_TOKEN }}
|
|
with:
|
|
destination_container_repo: ${{ env.DOCKER_REPO_NAME }}
|
|
provider: quay
|
|
# Empty string results in README-containers.md being pushed if it
|
|
# exists. Otherwise, README.md is pushed.
|
|
readme_file: ''
|