Skip to content

Commit

Permalink
Fix branch name
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <github@ysh.us>
  • Loading branch information
yurishkuro committed Dec 25, 2023
1 parent 3265bfa commit da6e0b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
tags:
- '**'
branches:
- master
- main
pull_request:
paths:
- .github/workflows/jaeger-dockerimage.yml
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push Docker image
- name: Build and maybe push Docker image
uses: docker/build-push-action@v5
with:
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
Expand Down

0 comments on commit da6e0b1

Please sign in to comment.