fixing release

Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com>
This commit is contained in:
Pedro Tanaka 2025-02-22 14:46:14 +01:00
parent 9176dc5647
commit 2f910c5417
No known key found for this signature in database
GPG key ID: D0D1C8BDF850C22A

View file

@ -35,11 +35,11 @@ jobs:
parallelism: 6 parallelism: 6
thread: ${{ matrix.thread }} thread: ${{ matrix.thread }}
publish_main: publish_master:
name: Publish main branch artifacts name: Publish master branch artifacts
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test, build] 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: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: prometheus/promci@v0.0.2 - uses: prometheus/promci@v0.0.2
@ -57,7 +57,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: prometheus/promci@v0.0.2 - uses: prometheus/promci@c3c93a50d581b928af720f0134b2b2dad32a6c41
- uses: ./.github/promci/actions/publish_release - uses: ./.github/promci/actions/publish_release
with: with:
docker_hub_login: ${{ secrets.docker_hub_login }} docker_hub_login: ${{ secrets.docker_hub_login }}