Compare commits
1 commit
608e4093ca
...
595b32082c
Author | SHA1 | Date | |
---|---|---|---|
595b32082c |
2 changed files with 28 additions and 33 deletions
|
@ -16,29 +16,20 @@ steps:
|
||||||
- 'latest'
|
- 'latest'
|
||||||
- ${CI_COMMIT_SHA}
|
- ${CI_COMMIT_SHA}
|
||||||
|
|
||||||
# build-branch:
|
build-branch:
|
||||||
# when:
|
|
||||||
# - event: push
|
|
||||||
# branch:
|
|
||||||
# exclude: ['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,,}
|
|
||||||
# tags:
|
|
||||||
# - ${CI_COMMIT_BRANCH}
|
|
||||||
# - ${CI_COMMIT_SHA}
|
|
||||||
|
|
||||||
sleep:
|
|
||||||
when:
|
when:
|
||||||
event: push
|
- event: push
|
||||||
# depends_on:
|
branch:
|
||||||
# - build-branch
|
exclude: ['main']
|
||||||
image: alpine
|
image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0
|
||||||
commands:
|
pull: true
|
||||||
- sleep 600
|
settings:
|
||||||
|
platforms: linux/amd64
|
||||||
|
registry: ${CI_FORGE_URL}
|
||||||
|
username: WoodpeckerCI
|
||||||
|
password:
|
||||||
|
from_secret: gitea_token
|
||||||
|
repo: git.verdigado.com/${CI_REPO,,}
|
||||||
|
tags:
|
||||||
|
- ${CI_COMMIT_BRANCH}
|
||||||
|
- ${CI_COMMIT_SHA}
|
||||||
|
|
|
@ -25,12 +25,16 @@ steps:
|
||||||
test: *image
|
test: *image
|
||||||
commands:
|
commands:
|
||||||
- 'echo image: *image'
|
- 'echo image: *image'
|
||||||
- 'echo $test'
|
- 'echo pulling $test'
|
||||||
|
- while ! docker pull $test ; do echo try; sleep 1; done
|
||||||
|
|
||||||
# salt pre-commit:
|
salt pre-commit:
|
||||||
# image: *image
|
image: *image
|
||||||
# environment:
|
depends_on:
|
||||||
# - SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check
|
- debug
|
||||||
# commands:
|
- salt clone
|
||||||
# - cd salt
|
environment:
|
||||||
# - pre-commit run --all-files
|
- SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check
|
||||||
|
commands:
|
||||||
|
- cd salt
|
||||||
|
- pre-commit run --all-files
|
||||||
|
|
Loading…
Add table
Reference in a new issue