32 lines
627 B
YAML
32 lines
627 B
YAML
|
---
|
||
|
depends_on:
|
||
|
- lint
|
||
|
steps:
|
||
|
selfhosted_tag:
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
dockerfile: Dockerfile
|
||
|
repo: registry.mgrote.net/nextcloud-cronjob
|
||
|
registry: registry.mgrote.net
|
||
|
tags:
|
||
|
- ${CI_COMMIT_TAG}
|
||
|
when:
|
||
|
event:
|
||
|
- tag
|
||
|
|
||
|
selfhosted_push:
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
dockerfile: Dockerfile
|
||
|
repo: registry.mgrote.net/nextcloud-cronjob
|
||
|
registry: registry.mgrote.net
|
||
|
tags:
|
||
|
- ${CI_COMMIT_SHA:0:8}
|
||
|
- ${CI_COMMIT_BRANCH}
|
||
|
- latest
|
||
|
when:
|
||
|
event:
|
||
|
exclude:
|
||
|
- pull_request
|
||
|
- tag
|