wiki/.woodpecker.yaml

34 lines
874 B
YAML
Raw Normal View History

2024-02-17 22:02:11 +01:00
steps:
- name: publish_image
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.gnous.eu/${CI_REPO_OWNER}/wiki
2024-04-01 23:50:43 +02:00
dockerfile: Dockerfile
2024-02-17 22:02:11 +01:00
platforms: linux/amd64
registry: https://git.gnous.eu
tag: ${CI_COMMIT}
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: ${CI_REPO_DEFAULT_BRANCH}
event: push
2024-04-01 23:50:43 +02:00
2024-07-07 14:58:14 +02:00
- name: publish_image_tag
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.gnous.eu/${CI_REPO_OWNER}/wiki
dockerfile: Dockerfile
platforms: linux/amd64
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