mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2025-03-13 11:12:39 +00:00
fixing release
Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com>
This commit is contained in:
parent
9176dc5647
commit
2f910c5417
1 changed files with 4 additions and 4 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -35,11 +35,11 @@ jobs:
|
|||
parallelism: 6
|
||||
thread: ${{ matrix.thread }}
|
||||
|
||||
publish_main:
|
||||
name: Publish main branch artifacts
|
||||
publish_master:
|
||||
name: Publish master branch artifacts
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test, build]
|
||||
if: github.event_name == 'push' && github.event.ref == 'refs/heads/main'
|
||||
if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: prometheus/promci@v0.0.2
|
||||
|
@ -57,7 +57,7 @@ jobs:
|
|||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: prometheus/promci@v0.0.2
|
||||
- uses: prometheus/promci@c3c93a50d581b928af720f0134b2b2dad32a6c41
|
||||
- uses: ./.github/promci/actions/publish_release
|
||||
with:
|
||||
docker_hub_login: ${{ secrets.docker_hub_login }}
|
||||
|
|
Loading…
Reference in a new issue