fix: Repaired pushing to registry
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Reviewed-on: #2 Co-authored-by: Tobias Schmidl <tobias@schmidl.dev> Co-committed-by: Tobias Schmidl <tobias@schmidl.dev>
This commit is contained in:
parent
af0c32c7ba
commit
874ecd0c01
4 changed files with 15 additions and 13 deletions
3
Makefile
3
Makefile
|
@ -5,10 +5,11 @@
|
|||
DOCKER := docker
|
||||
BUILDER := ${DOCKER} buildx
|
||||
TAG := git.schmidl.dev/schtobia/buildimage
|
||||
URL:= https://${TAG}
|
||||
VERSION = $(shell git describe --tags --always --dirty)
|
||||
|
||||
build: dockerfile
|
||||
@${BUILDER} build --build-arg=GIT_COMMIT=$(shell git describe --always) --build-arg=VERSION=${VERSION} --build-arg=TIMESTAMP="$(shell date -u -Iseconds)" -t ${TAG} -t ${TAG}:${VERSION} .
|
||||
@${BUILDER} build --label org.opencontainers.image.revision=$(shell git describe --always) --label org.opencontainers.image.version=${VERSION} --label org.opencontainers.image.created="$(shell date -u -Iseconds)" --label org.opencontainers.image.source=https://${TAG}.git --label org.opencontainers.image.url=https://${TAG} -t ${TAG} -t ${TAG}:${VERSION} .
|
||||
|
||||
.PHONY: publish
|
||||
publish: build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue