faas-cli: v0.16.7
This commit is contained in:
parent
e52afdc4c0
commit
1fe3d9ede5
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user