bunnycdn-purge/.metroline.yml

21 lines
675 B
YAML
Raw Normal View History

2021-05-06 19:00:56 -04:00
version: '1'
image: docker
jobs:
remove_docker_before:
allowFailure: true
script:
2021-05-07 08:47:03 -04:00
- docker image rm docker.leffler.media/leffler.media/bunnycdn-purge
2021-05-06 19:00:56 -04:00
build_docker:
script:
2021-05-07 08:47:03 -04:00
- docker build -t docker.leffler.media/leffler.media/bunnycdn-purge .
2021-05-06 19:00:56 -04:00
- echo '{{DOCKER_PASS}}' | docker login -u '{{DOCKER_USER}}' --password-stdin https://docker.leffler.media
2021-05-07 08:47:03 -04:00
- docker push "docker.leffler.media/leffler.media/bunnycdn-purge"
2021-05-06 19:00:56 -04:00
dependencies:
- remove_docker_before
remove_docker_after:
allowFailure: true
script:
2021-05-07 08:47:03 -04:00
- docker image rm docker.leffler.media/leffler.media/bunnycdn-purge
2021-05-06 19:00:56 -04:00
dependencies:
- build_docker