25 lines
417 B
YAML
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
|