Commit 3ad5caeb authored by Recteur LP's avatar Recteur LP

update build option

parent 69968e2b
Pipeline #1516 passed with stages
in 4 minutes and 49 seconds
......@@ -21,22 +21,22 @@ help:
@echo " docs build Documentation"
test-build: auto-proxy
@buildah bud --pull -f container/tests.container -t localhost/pyrmin:tests .
@buildah bud --pull --no-cache -f container/tests.container -t localhost/pyrmin:tests .
vendor:
@npm install
@grunt copy
build: vendor auto-proxy
@buildah bud --format docker --layers -f container/pyrmin.container -v $(shell pwd):/opt/tmp -t docker.io/pyrmin/pyrmin
@buildah bud --pull --no-cache --format docker -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 --format docker --layers -f container/python2/pyrmin.container -v $(shell pwd):/opt/tmp -t docker.io/pyrmin/pyrmin:27-latest
@buildah bud --pull --no-cache --format docker -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 --format docker --layers -f container/el8/pyrmin.container -v $(shell pwd):/opt/tmp -t docker.io/pyrmin/pyrmin:el8-latest
@buildah bud --pull --no-cache --format docker -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