postal/.gitlab-ci.yml
2020-04-12 23:57:55 -04:00

25 lines
417 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 .
cleanup
stage: cleanup
script:
- docker system prune -af