Skip to content

Commit

Permalink
Keep pushing old runner-gitlab and -github tags
Browse files Browse the repository at this point in the history
I'm thinking this might help avoid some hard to debug problems or
test breakages as we transition from multiple images to a single
image.

These extra tags can be removed in the near future.
  • Loading branch information
simonbaird committed Nov 6, 2024
1 parent 019d136 commit 28e86e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,19 @@ endef
.PHONY: push-image
push-image:
podman push $(unique-tag)
# Two extra tags for backwards compability
podman push $(floating-tag)-gitlab
podman push $(floating-tag)-github
podman push $(floating-tag)
@echo Pushed to https://quay.io/repository/$(RUNNER_IMAGE_ORG)/$(RUNNER_IMAGE_REPO)?tab=tags

.PHONY: build-image
build-image:
podman build $(if $(NOCACHE),--no-cache) -f Dockerfile -t $(floating-tag)
podman tag $(floating-tag) $(unique-tag)
# Two extra tags for backwards compability
podman tag $(floating-tag) $(floating-tag)-gitlab
podman tag $(floating-tag) $(floating-tag)-github

.PHONY: run-image
run-image:
Expand Down

0 comments on commit 28e86e0

Please sign in to comment.