Merge pull request #3540 from prometheus/dependabot/go_modules/golang… #2
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 | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
jobs: | |
ci: | |
name: Run ci | |
uses: ./.github/workflows/ci.yml | |
publish_main: | |
name: Publish main branch artefacts | |
runs-on: ubuntu-latest | |
needs: ci | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: prometheus/[email protected] | |
- uses: ./.github/promci/actions/publish_main | |
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 }} |