routeros-config-export/.woodpecker/build.yml
2023-12-04 17:51:33 +01:00

35 lines
684 B
YAML

---
kind: pipeline
type: docker
name: docker_build
depends_on:
- lint
- debug
steps:
selfhosted_tag:
image: plugins/docker
settings:
dockerfile: Dockerfile
repo: registry.mgrote.net/oxidized-selfmade
registry: registry.mgrote.net
tags:
- ${CI_COMMIT_TAG}
when:
event:
- tag
selfhosted_push:
image: plugins/docker
settings:
dockerfile: Dockerfile
repo: registry.mgrote.net/oxidized-selfmade
registry: registry.mgrote.net
tags:
- ${CI_COMMIT_SHA:0:8}
- ${CI_COMMIT_BRANCH}
- latest
when:
event:
exclude:
- pull_request
- tag