This repository has been archived on 2024-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
python-api-server/.woodpecker/build.yml

35 lines
674 B
YAML
Raw Normal View History

2023-11-03 19:26:10 +01:00
---
kind: pipeline
type: docker
name: docker_build
depends_on:
- lint
steps:
selfhosted_tag:
image: plugins/docker
settings:
dockerfile: Dockerfile
repo: registry.mgrote.net/python-api-server
registry: registry.mgrote.net
tags:
- ${CI_COMMIT_TAG}
when:
event:
- tag
selfhosted_push:
image: plugins/docker
settings:
dockerfile: Dockerfile
repo: registry.mgrote.net/python-api-server
registry: registry.mgrote.net
tags:
- ${CI_COMMIT_SHA:0:8}
- ${CI_COMMIT_BRANCH}
- latest
when:
event:
exclude:
- pull_request
- tag