This commit is contained in:
parent
bd24699f03
commit
126d943d61
1 changed files with 5 additions and 6 deletions
|
@ -1,10 +1,8 @@
|
|||
when:
|
||||
path: '*Dockerfile*'
|
||||
|
||||
steps:
|
||||
build-main:
|
||||
when:
|
||||
branch: main
|
||||
- event: push
|
||||
branch: main
|
||||
image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0
|
||||
pull: true
|
||||
settings:
|
||||
|
@ -18,8 +16,9 @@ steps:
|
|||
|
||||
build-branch:
|
||||
when:
|
||||
branch:
|
||||
exclude: ['main']
|
||||
- event: push
|
||||
branch:
|
||||
exclude: ['main']
|
||||
image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0
|
||||
pull: true
|
||||
settings:
|
||||
|
|
Loading…
Reference in a new issue