This commit is contained in:
andig 2021-07-26 08:20:36 +02:00
parent 1a03826dcb
commit e237fedec7
2 changed files with 3 additions and 6 deletions

View file

@ -67,17 +67,17 @@ docker:
publish-testing:
@echo Version: $(VERSION) $(BUILD_DATE)
EVCC_VERSION=testing seihon publish --dry-run=false --template docker/tmpl.Dockerfile --base-runtime-image alpine:$(ALPINE_VERSION) \
seihon publish --dry-run=false --template docker/tmpl.Dockerfile --base-runtime-image alpine:$(ALPINE_VERSION) \
--image-name $(DOCKER_IMAGE) -v "testing" --targets=$(TARGETS)
publish-latest:
@echo Version: $(VERSION) $(BUILD_DATE)
EVCC_VERSION=latest seihon publish --dry-run=false --template docker/tmpl.Dockerfile --base-runtime-image alpine:$(ALPINE_VERSION) \
seihon publish --dry-run=false --template docker/tmpl.Dockerfile --base-runtime-image alpine:$(ALPINE_VERSION) \
--image-name $(DOCKER_IMAGE) -v "latest" --targets=$(TARGETS)
publish-images:
@echo Version: $(VERSION) $(BUILD_DATE)
EVCC_VERSION=$(VERSION) seihon publish --dry-run=false --template docker/tmpl.Dockerfile --base-runtime-image alpine:$(ALPINE_VERSION) \
seihon publish --dry-run=false --template docker/tmpl.Dockerfile --base-runtime-image alpine:$(ALPINE_VERSION) \
--image-name $(DOCKER_IMAGE) -v "latest" -v "$(TAG_NAME)" --targets=$(TARGETS)
prepare-image:

View file

@ -50,9 +50,6 @@ RUN GOARCH={{ .GoARCH }} GOARM={{ .GoARM }} make build
# STEP 3 build a small image including module support
FROM {{ .RuntimeImage }}
ARG BUILD_VERSION={{ env "EVCC_VERSION" }}
LABEL io.hass.version=${BUILD_VERSION}
WORKDIR /app
ENV TZ=Europe/Berlin