Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .woodpecker/.feature.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
pipeline:
steps:
build-and-push:
image: plugins/docker
image: woodpeckerci/plugin-docker-buildx
settings:
repo: "${CI_REPO_OWNER##mu-}/mu-${CI_REPO_NAME}"
tags: "feature-${CI_COMMIT_BRANCH##feature/}"
secrets: [docker_username, docker_password]
when:
event: push
branch: feature/*
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
- event: push
branch: [feature/*]
15 changes: 9 additions & 6 deletions .woodpecker/.latest.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
pipeline:
steps:
build-and-push:
image: plugins/docker
image: woodpeckerci/plugin-docker-buildx
settings:
repo: "${CI_REPO_OWNER##mu-}/mu-${CI_REPO_NAME}"
tags: latest
secrets: [docker_username, docker_password]
when:
event: push
branch: [master, main]
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
- event: push
branch: [master, main]
15 changes: 9 additions & 6 deletions .woodpecker/.tag.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
pipeline:
steps:
release:
image: plugins/docker
image: woodpeckerci/plugin-docker-buildx
settings:
repo: "${CI_REPO_OWNER##mu-}/mu-${CI_REPO_NAME}"
tags: "${CI_COMMIT_TAG##v}"
secrets: [ docker_username, docker_password ]
when:
event: tag
tag: v*
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
- event: tag
ref: refs/tags/v*