This commit is contained in:
parent
6f43db433d
commit
f5724259f5
1 changed files with 12 additions and 28 deletions
|
@ -1,31 +1,15 @@
|
|||
steps:
|
||||
build-main:
|
||||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0
|
||||
pull: true
|
||||
settings:
|
||||
platforms: linux/amd64
|
||||
registry: ${CI_FORGE_URL}
|
||||
username: WoodpeckerCI
|
||||
password:
|
||||
from_secret: gitea_token
|
||||
repo: git.verdigado.com/${CI_REPO,,}
|
||||
tag: 'latest'
|
||||
test-1:
|
||||
image: alpine
|
||||
commands:
|
||||
- mkdir salt
|
||||
- ls -la
|
||||
|
||||
build-branch:
|
||||
when:
|
||||
- event: push
|
||||
branch:
|
||||
exclude: ['main']
|
||||
image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0
|
||||
pull: true
|
||||
clone-salt:
|
||||
image: woodpeckerci/plugin-git
|
||||
settings:
|
||||
platforms: linux/amd64
|
||||
registry: ${CI_FORGE_URL}
|
||||
username: WoodpeckerCI
|
||||
password:
|
||||
from_secret: gitea_token
|
||||
repo: git.verdigado.com/${CI_REPO,,}
|
||||
tag: ${CI_COMMIT_BRANCH}
|
||||
remote: https://git.verdigado.com/verdigado-Privileged/Salt.git
|
||||
path: salt
|
||||
sha: ''
|
||||
ref: refs/heads/master
|
||||
branch: master
|
||||
|
|
Loading…
Reference in a new issue