test build

This commit is contained in:
CatDeployed 2018-07-29 16:31:48 -04:00
parent 175bbd6335
commit f8a61838ae

View File

@ -9,6 +9,13 @@ jobs:
- run: - run:
name: Build Postal Docker Container name: Build Postal Docker Container
command: docker build -t catdeployed/postal:latest -t catdeployed/postal:alpine . command: docker build -t catdeployed/postal:latest -t catdeployed/postal:alpine .
- run:
name: Export Container
command: mkdir workspace && cd workspace && docker save --output postal_alpine.tar catdeployed/postal:alpine
- persist_to_workspace:
root: workspace
paths:
- postal_alpine.tar
build-ubuntu: build-ubuntu:
machine: true machine: true
working_directory: ~/repo/ubuntu working_directory: ~/repo/ubuntu