plugin
This commit is contained in:
parent
3177def7bf
commit
cc85a6cd38
1 changed files with 2 additions and 16 deletions
|
@ -4,39 +4,25 @@ depends_on:
|
|||
|
||||
|
||||
steps:
|
||||
git:
|
||||
image: registry.mgrote.net/allzweckcontainer:latest
|
||||
commands:
|
||||
- PATCH=$(git rev-list --count $$CI_COMMIT_BRANCH)
|
||||
- MINOR=0
|
||||
- MAJOR=0
|
||||
- VERSION=$$MAJOR.$$MINOR.$$PATCH-$$CI_COMMIT_SHA
|
||||
- echo $$VERSION
|
||||
|
||||
|
||||
|
||||
|
||||
selfhosted_tag:
|
||||
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:
|
||||
- ${CI_COMMIT_TAG}
|
||||
- $VERSION
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue