have circleci push images up
This commit is contained in:
parent
b4a7f23815
commit
69aa773ba3
@ -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
|
||||||
|
4
Makefile
4
Makefile
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user