diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7e24eb169..9808d2294 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,10 @@ on: pull_request: branches: - master - + release: + types: + - created + # jobs to run jobs: build: diff --git a/Makefile b/Makefile index 2beb982fa..cf10f2b9c 100644 --- a/Makefile +++ b/Makefile @@ -97,12 +97,11 @@ login: test-login: echo "$(DOCKER_TEST_PASS)" | docker login -u "$(DOCKER_TEST_USER)" --password-stdin -push: build-image build-zk-image build-zk-image-swarm login +push: build-image build-zk-image login docker push $(REPO):$(VERSION) docker push $(REPO):latest docker push $(APP_REPO):$(VERSION) docker push $(APP_REPO):latest - docker push $(APP_REPO):$(VERSION)-swarm docker tag $(REPO):$(VERSION) $(ALTREPO):$(VERSION) docker tag $(REPO):$(VERSION) $(ALTREPO):latest docker tag $(APP_REPO):$(VERSION) $(APP_ALTREPO):$(VERSION)