|
|
@ -18,7 +18,7 @@ jobs: |
|
|
|
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks. |
|
|
|
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks. |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: git checkout |
|
|
|
- name: git checkout |
|
|
|
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 |
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
|
|
|
- name: Set docker hub repo name |
|
|
|
- name: Set docker hub repo name |
|
|
|
run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV |
|
|
|
run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV |
|
|
|
- name: Push README to Dockerhub |
|
|
|
- name: Push README to Dockerhub |
|
|
@ -40,7 +40,7 @@ jobs: |
|
|
|
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks. |
|
|
|
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks. |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: git checkout |
|
|
|
- name: git checkout |
|
|
|
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 |
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
|
|
|
- name: Set quay.io org name |
|
|
|
- name: Set quay.io org name |
|
|
|
run: echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV |
|
|
|
run: echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV |
|
|
|
- name: Set quay.io repo name |
|
|
|
- name: Set quay.io repo name |
|
|
|