build: Build and publish image once

This commit is contained in:
Martin Polden 2021-01-24 15:11:44 +01:00
parent 8374778df8
commit 4024add6e1
2 changed files with 1 additions and 5 deletions

View File

@ -24,9 +24,5 @@ jobs:
run: |
echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
sudo service docker restart
- name: build docker image
run: make docker-build
- name: publish docker image
run: make docker-push
- name: publish multi-arch docker image
run: make docker-pushx

View File

@ -60,7 +60,7 @@ docker-test:
docker-push: docker-test docker-login
$(DOCKER) push $(DOCKER_IMAGE)
docker-pushx: docker-multiarch-builder docker-login
docker-pushx: docker-multiarch-builder docker-test docker-login
$(DOCKER) buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t $(DOCKER_IMAGE) --push .
xinstall: