have circleci push images up

This commit is contained in:
Jeffrey Paul 2019-10-27 06:31:06 -07:00
parent b4a7f23815
commit 69aa773ba3
2 changed files with 7 additions and 2 deletions

View File

@ -4,7 +4,8 @@ jobs:
machine: true machine: true
steps: steps:
- checkout - checkout
- run: | - run: make dist
make dist
- store_artifacts: - store_artifacts:
path: output path: output
- run: echo "$DOCKER_PASS" | docker login --username $DOCKER_USER --password-stdin
- run: make ci-upload-images

View File

@ -62,3 +62,7 @@ upload-docker-image: build-docker-image
docker push $(IMAGENAME):$(VERSION) docker push $(IMAGENAME):$(VERSION)
docker push $(IMAGENAME):$(BUILDTIMETAG) docker push $(IMAGENAME):$(BUILDTIMETAG)
docker push $(IMAGENAME):latest docker push $(IMAGENAME):latest
ci-upload-images:
docker push $(IMAGENAME):$(VERSION)
docker push $(IMAGENAME):$(BUILDTIMETAG)