Skip to content

Commit

Permalink
Use podman for container image builds
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
  • Loading branch information
saschagrunert committed Jun 22, 2019
1 parent 125e9b8 commit 20bf8c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,16 +146,22 @@ jobs:
target:
type: string
steps:
- run:
name: get dependencies
command: |
sudo add-apt-repository -y ppa:projectatomic/ppa
sudo apt-get update
sudo apt-get install -y podman
- checkout
- attach_workspace:
at: .
- run:
name: create container image
command: make image-<< parameters.target >> CONTAINER_RUNTIME=docker
command: make image-<< parameters.target >>
- run:
name: save container image
command: |
docker save -o image-<< parameters.target >>.tar \
podman save -o image-<< parameters.target >>.tar \
performabot-<< parameters.target >>
- store_artifacts:
path: image-<< parameters.target >>.tar
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.orig
*.sqlite3*
*.tar
*.tix
.ghc.environment.*
.sass-cache
Expand Down

0 comments on commit 20bf8c6

Please sign in to comment.