SemVer-Tags (#15)
Reviewed-on: #15 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
parent
fb01e7ba2a
commit
cfce48fb16
1 changed files with 7 additions and 2 deletions
|
@ -1,9 +1,13 @@
|
|||
---
|
||||
depends_on:
|
||||
- lint
|
||||
|
||||
variables: # https://woodpecker-ci.org/docs/usage/advanced-usage
|
||||
- &VERSION 'v1.0.${CI_PIPELINE_NUMBER}' # wird für die Docker-Tags verwendet
|
||||
|
||||
steps:
|
||||
selfhosted_tag:
|
||||
image: plugins/docker@sha256:2f157400c2cb7de1b309b0f044f119375108218e54d38e1340e00b9f93abdefb
|
||||
image: "woodpeckerci/plugin-docker-buildx:3.0.1"
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
repo: registry.mgrote.net/allzweckcontainer
|
||||
|
@ -15,12 +19,13 @@ steps:
|
|||
- 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