docker-template/.woodpecker/.build.yaml
Aaron Riedel ec21e36dd1
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline failed
initial commit
2024-11-05 20:33:24 +01:00

35 lines
748 B
YAML

steps:
- name: docker
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/${CI_REPO}
tags:
- latest
- ${CI_PIPELINE_NUMBER}
when:
- branch: main
event: [push, manual]
- name: docker-build
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/${CI_REPO}
tags:
- testing-${CI_PIPELINE_NUMBER}
when:
- branch:
exclude: main
event: [push, manual]
depends_on:
- lint