Compare commits
17 commits
Author | SHA1 | Date | |
---|---|---|---|
4971aba604 | |||
ca4a919c52 | |||
04c490bce0 | |||
149ed62950 | |||
3be424787c | |||
ec296e24a7 | |||
edcdb39758 | |||
47ed8c7f52 | |||
1b4c5b13c0 | |||
0d1881dac9 | |||
2d66400478 | |||
cc85a6cd38 | |||
3177def7bf | |||
5a768f3506 | |||
a4641efcad | |||
6e3350b5a7 | |||
9bfdd0cc42 |
2 changed files with 7 additions and 14 deletions
|
@ -1,26 +1,19 @@
|
|||
---
|
||||
depends_on:
|
||||
- lint
|
||||
steps:
|
||||
selfhosted_tag:
|
||||
image: plugins/docker@sha256:2f157400c2cb7de1b309b0f044f119375108218e54d38e1340e00b9f93abdefb
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
repo: registry.mgrote.net/allzweckcontainer
|
||||
registry: registry.mgrote.net
|
||||
tags:
|
||||
- ${CI_COMMIT_TAG}
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
variables: # https://woodpecker-ci.org/docs/usage/advanced-usage
|
||||
- &VERSION 'v1.0.${CI_PIPELINE_NUMBER}' # wird für die Docker-Tags verwendet
|
||||
|
||||
steps:
|
||||
selfhosted_push:
|
||||
image: plugins/docker@sha256:2f157400c2cb7de1b309b0f044f119375108218e54d38e1340e00b9f93abdefb
|
||||
image: "woodpeckerci/plugin-docker-buildx:3.0.1"
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
repo: registry.mgrote.net/allzweckcontainer
|
||||
registry: registry.mgrote.net
|
||||
tags:
|
||||
- *VERSION
|
||||
- ${CI_COMMIT_SHA:0:8}
|
||||
- ${CI_COMMIT_BRANCH}
|
||||
- latest
|
||||
|
|
|
@ -19,7 +19,7 @@ steps:
|
|||
- tag
|
||||
|
||||
shellcheck:
|
||||
image: registry.mgrote.net/allzweckcontainer:latest
|
||||
image: "registry.mgrote.net/allzweckcontainer:1.0.120"
|
||||
commands:
|
||||
- |
|
||||
find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do
|
||||
|
|
Loading…
Reference in a new issue