Skip to content

Commit

Permalink
fix: push image with version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoltzsche committed May 14, 2021
1 parent faaaecf commit 3519bcc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
IMAGE ?= docker.io/mgoltzsche/kustomizr:latest
VERSION ?= latest
IMAGE ?= docker.io/mgoltzsche/kustomizr:$(VERSION)

BUILD_DIR := $(shell pwd)/build
BIN_DIR := $(BUILD_DIR)/bin
Expand Down Expand Up @@ -29,7 +30,9 @@ check-repo-unchanged:
echo 'Please call `make static-manifests` and commit the resulting changes.'; \
false) >&2

release: image test check-repo-unchanged docker-push
release:
make image test check-repo-unchanged docker-push VERSION=latest
make image docker-push VERSION=$(VERSION)

$(KPT): kpt
kpt:
Expand Down

0 comments on commit 3519bcc

Please sign in to comment.