WIP
This commit is contained in:
parent
7b494905ee
commit
7a2c8dcf26
2 changed files with 17 additions and 16 deletions
|
@ -11,22 +11,7 @@ steps:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
|
debug: true
|
||||||
when:
|
when:
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
event: push
|
event: push
|
||||||
- name: publish_image_tag
|
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
|
||||||
settings:
|
|
||||||
repo: git.gnous.eu/${CI_REPO_OWNER}/plakken
|
|
||||||
dockerfile: docker/Dockerfile
|
|
||||||
platforms: linux/amd64,linux/arm64/v8,linux/arm
|
|
||||||
registry: https://git.gnous.eu
|
|
||||||
tags:
|
|
||||||
- ${CI_COMMIT_TAG##v} # Remove v from tag
|
|
||||||
- stable
|
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
|
|
|
@ -6,3 +6,19 @@ steps:
|
||||||
secrets: [ release_token ]
|
secrets: [ release_token ]
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
- name: publish_image_tag
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
repo: git.gnous.eu/${CI_REPO_OWNER}/plakken
|
||||||
|
dockerfile: docker/Dockerfile
|
||||||
|
platforms: linux/amd64,linux/arm64/v8,linux/arm
|
||||||
|
registry: https://git.gnous.eu
|
||||||
|
tags:
|
||||||
|
- ${CI_COMMIT_TAG##v} # Remove v from tag
|
||||||
|
- stable
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
when:
|
||||||
|
event: tag
|
Loading…
Reference in a new issue