Skip to content

Commit 630841d

Browse files
committed
Push latest tag to Docker Hub and Quay
1 parent ea7f4fc commit 630841d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,13 @@ test-container:
3434
curl -sH "Authorization: Bearer $${TOKEN}" localhost:9898/token/validate | grep test
3535

3636
push-container:
37+
docker tag $(DOCKER_IMAGE_NAME):$(VERSION) $(DOCKER_IMAGE_NAME):latest
3738
docker push $(DOCKER_IMAGE_NAME):$(VERSION)
39+
docker push $(DOCKER_IMAGE_NAME):latest
3840
docker tag $(DOCKER_IMAGE_NAME):$(VERSION) quay.io/$(DOCKER_IMAGE_NAME):$(VERSION)
41+
docker tag $(DOCKER_IMAGE_NAME):$(VERSION) quay.io/$(DOCKER_IMAGE_NAME):latest
3942
docker push quay.io/$(DOCKER_IMAGE_NAME):$(VERSION)
43+
docker push quay.io/$(DOCKER_IMAGE_NAME):latest
4044

4145
version-set:
4246
@next="$(TAG)" && \

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,9 @@ Kustomize:
8383
```bash
8484
kubectl apply -k github.com/stefanprodan/podinfo//kustomize
8585
```
86+
87+
Docker:
88+
89+
```bash
90+
docker run -dp 9898:9898 stefanprodan/podinfo
91+
```

0 commit comments

Comments
 (0)