Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mrporcles committed Aug 16, 2023
1 parent fbc7a8c commit 072fe85
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
include Makefile.env

# Put it first so that "make" without argument is like "make help".
build: docker-build
release: docker-build docker-release
build: docker-build build-date
release: docker-build build-date docker-release

.PHONY: docker-build docker-release
.PHONY: docker-build build-date docker-release

docker-build:
docker build --build-arg VERSION="${version}" \
Expand All @@ -16,3 +16,8 @@ docker-build:

docker-release:
docker push ${CONTAINER_REGISTRY}/${CONTAINER_REPOSITORY}:${version}

build-date:
# Ensures there is always an asset to upload
mkdir -p build
date > build/build-date

0 comments on commit 072fe85

Please sign in to comment.