Add docker image publishing
This commit is contained in:
8
makefile
8
makefile
@ -1,4 +1,4 @@
|
||||
.PHONY: test shellcheck docopt release-installer
|
||||
.PHONY: test shellcheck docopt release-installer build push
|
||||
|
||||
test:
|
||||
@sudo DOCKER_CONTEXT=default docker run \
|
||||
@ -43,3 +43,9 @@ release-apps:
|
||||
docker stack rm abra-apps-json && \
|
||||
cd deploy/apps.coopcloud.tech && \
|
||||
DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml abra-apps-json
|
||||
|
||||
build:
|
||||
@docker build -t decentral1se/abra .
|
||||
|
||||
push: build
|
||||
@docker push decentral1se/abra
|
||||
|
Reference in New Issue
Block a user