routeros-config-export/.woodpecker/build.yml

32 lines
637 B
YAML
Raw Normal View History

2023-11-03 19:28:37 +01:00
---
depends_on:
- lint
steps:
selfhosted_tag:
image: plugins/docker
settings:
dockerfile: Dockerfile
2023-12-04 19:09:43 +01:00
repo: registry.mgrote.net/routeros-config-export
2023-11-03 19:28:37 +01:00
registry: registry.mgrote.net
tags:
- ${CI_COMMIT_TAG}
when:
event:
- tag
selfhosted_push:
image: plugins/docker
settings:
dockerfile: Dockerfile
2023-12-04 19:09:43 +01:00
repo: registry.mgrote.net/routeros-config-export
2023-11-03 19:28:37 +01:00
registry: registry.mgrote.net
tags:
- ${CI_COMMIT_SHA:0:8}
- ${CI_COMMIT_BRANCH}
- latest
when:
event:
exclude:
- pull_request
- tag