Commit b330f833 authored by Recteur LP's avatar Recteur LP

Use docker format to build container

parent 34b800e3
Pipeline #1498 passed with stages
in 6 minutes and 15 seconds
......@@ -28,15 +28,15 @@ vendor:
@grunt copy
build: vendor auto-proxy
@buildah bud -f container/pyrmin.container -v $(shell pwd):/opt/tmp -t docker.io/pyrmin/pyrmin
@buildah bud --format docker --layers -f container/pyrmin.container -v $(shell pwd):/opt/tmp -t docker.io/pyrmin/pyrmin
@buildah tag docker.io/pyrmin/pyrmin docker.io/pyrmin/pyrmin:$(CI_COMMIT_TAG)
build27: vendor auto-proxy
@buildah bud -f container/python2/pyrmin.container -v $(shell pwd):/opt/tmp -t docker.io/pyrmin/pyrmin:27-latest
@buildah bud --format docker --layers -f container/python2/pyrmin.container -v $(shell pwd):/opt/tmp -t docker.io/pyrmin/pyrmin:27-latest
@buildah tag docker.io/pyrmin/pyrmin:27-latest docker.io/pyrmin/pyrmin:27-$(CI_COMMIT_TAG)
build-el8: vendor auto-proxy
@buildah bud -f container/el8/pyrmin.container -v $(shell pwd):/opt/tmp -t docker.io/pyrmin/pyrmin:el8-latest
@buildah bud --format docker --layers -f container/el8/pyrmin.container -v $(shell pwd):/opt/tmp -t docker.io/pyrmin/pyrmin:el8-latest
@buildah tag docker.io/pyrmin/pyrmin:el8-latest docker.io/pyrmin/pyrmin:el8-$(CI_COMMIT_TAG)
start:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment