epee-service/.woodpecker/docker.yaml
2025-03-02 18:52:27 +01:00

32 lines
No EOL
897 B
YAML

steps:
- name: publish_image
image: woodpeckerci/plugin-docker-buildx:5.2
settings:
repo: git.gnous.eu/${CI_REPO_OWNER}/epee-service
dockerfile: Dockerfile
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
- name: publish_image_tag
image: woodpeckerci/plugin-docker-buildx:5.2
settings:
repo: git.gnous.eu/${CI_REPO_OWNER}/epee-service
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