Fix github.repository in release.yml (#1597) #157
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Docker image and binaries | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
jobs: | ||
buildDockerImage: | ||
Check failure on line 9 in .github/workflows/release.yml GitHub Actions / Publish Docker image and binariesInvalid workflow file
|
||
name: Publish release artefacts | ||
runs-on: ubuntu-latest | ||
needs: [build, verify] | ||
if: | | ||
(github.repository == 'prometheus-community/yet-another-cloudwatch-exporter') | ||
&& | ||
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v.')) | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- uses: prometheus/promci@52c7012f5f0070d7281b8db4a119e21341d43c91 # v0.4.5 | ||
- uses: ./.github/promci/actions/publish_release | ||
with: | ||
docker_hub_login: ${{ secrets.docker_hub_login }} | ||
docker_hub_password: ${{ secrets.docker_hub_password }} | ||
quay_io_login: ${{ secrets.quay_io_login }} | ||
quay_io_password: ${{ secrets.quay_io_password }} | ||
github_token: ${{ secrets.PROMBOT_GITHUB_TOKEN }} |