bunnycdn-purge/.metroline.yml
2021-05-07 09:09:41 -04:00

21 lines
675 B
YAML

version: '1'
image: docker
jobs:
remove_docker_before:
allowFailure: true
script:
- docker image rm docker.leffler.media/leffler.media/bunnycdn-purge
build_docker:
script:
- docker build -t docker.leffler.media/leffler.media/bunnycdn-purge .
- echo '{{DOCKER_PASS}}' | docker login -u '{{DOCKER_USER}}' --password-stdin https://docker.leffler.media
- docker push "docker.leffler.media/leffler.media/bunnycdn-purge"
dependencies:
- remove_docker_before
remove_docker_after:
allowFailure: true
script:
- docker image rm docker.leffler.media/leffler.media/bunnycdn-purge
dependencies:
- build_docker