ci: build container image only when needed
This commit is contained in:
parent
fe1bc3e124
commit
33c2a48cdb
1
.github/workflows/image.yml
vendored
1
.github/workflows/image.yml
vendored
@ -8,6 +8,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ startsWith(github.event.head_commit.message, 'feat:') || startsWith(github.event.head_commit.message, 'fix:') }}
|
||||
runs-on: ubuntu-20.04
|
||||
outputs:
|
||||
commit: ${{ steps.metadata.outputs.commit }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user