faas-cli: v0.16.7

This commit is contained in:
ace 2023-08-01 18:44:09 +03:00
parent e52afdc4c0
commit 1fe3d9ede5
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,5 @@
FROM docker:20.10.10-dind
FROM docker:23.0.4-dind
ARG VERSION
RUN wget https://github.com/openfaas/faas-cli/releases/download/0.13.13/faas-cli -O /usr/local/bin/faas-cli
RUN wget https://github.com/openfaas/faas-cli/releases/download/${VERSION}/faas-cli -O /usr/local/bin/faas-cli
RUN chmod +x /usr/local/bin/faas-cli

View File

@ -1,11 +1,11 @@
VERSION=0.13.13
VERSION=0.16.7
IMAGE=faas-cli
REGISTRY=gitea.geekhome.org/ghp
.PHONY: build push all
build:
docker build -t $(REGISTRY)/$(IMAGE):$(VERSION) .
docker build --build-arg="VERSION=$(VERSION)" -t $(REGISTRY)/$(IMAGE):$(VERSION) .
push:
docker push $(REGISTRY)/$(IMAGE):$(VERSION)