From 1fe3d9ede5666018470f2c524bf3c47c475af7b7 Mon Sep 17 00:00:00 2001 From: ace Date: Tue, 1 Aug 2023 18:44:09 +0300 Subject: [PATCH] faas-cli: v0.16.7 --- faas-cli/Dockerfile | 5 +++-- faas-cli/Makefile | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/faas-cli/Dockerfile b/faas-cli/Dockerfile index c091aa6..811cd44 100644 --- a/faas-cli/Dockerfile +++ b/faas-cli/Dockerfile @@ -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 diff --git a/faas-cli/Makefile b/faas-cli/Makefile index 2a6c587..3e899a6 100644 --- a/faas-cli/Makefile +++ b/faas-cli/Makefile @@ -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)