Skip to content

Commit

Permalink
ci: skip docker image builds for pull requests
Browse files Browse the repository at this point in the history
Building docker images for pull requests is unnecessary. Also, the
"release" tag should always refer to the latest commit on the master
branch.

Signed-off-by: Renato Westphal <[email protected]>
  • Loading branch information
rwestphal committed Sep 4, 2023
1 parent 939c076 commit f41ddd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
push-image:
name: Docker Image Build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v2
Expand Down

0 comments on commit f41ddd1

Please sign in to comment.