postal/.gitlab-ci.yml
2020-04-12 23:58:42 -04:00

25 lines
425 B
YAML

#variables:
before_script:
- docker info
stages:
- docker-build
- cleanup
build-docker-alpine:
stage: docker-build
script:
- cd alpine
- docker build --network=host -t catdeployed/postal:alpine .
build-docker-ubuntu:
stage: docker-build
script:
- cd ubuntu
- docker build --network=host -t catdeployed/postal:ubuntu .
docker-cleanup:
stage: cleanup
script:
- docker system prune -af