Skip to content

Commit

Permalink
fixed taskfile
Browse files Browse the repository at this point in the history
  • Loading branch information
msciabarra committed Dec 6, 2023
1 parent ffe3846 commit b36d132
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
7 changes: 2 additions & 5 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
AWS_ACCESS_KEY_ID=xxxx
AWS_SECRET_ACCESS_KEY=xxx
AWS_BUCKET=xxx
SLACK_WEBHOOK=xxxx

GH_USER=<github user>
GH_TOKEN=<github token>
15 changes: 8 additions & 7 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ dotenv:
- .env

vars:
BASETAG: 0.3.0-morpheus
BASETAG: 3.0.0-beta
TAG:
sh: git describe --tags --abbrev=0 2>/dev/null || git rev-parse --short HEAD
CONTROLLER_IMAGE: ghcr.io/nuvolaris/openwhisk-controller
INVOKER_IMAGE: ghcr.io/nuvolaris/openwhisk-invoker
STANDALONE_IMAGE: ghcr.io/nuvolaris/openwhisk-standalone
COMMON_IMAGE: ghcr.io/nuvolaris/openwhisk-common

CONTROLLER_IMAGE: ghcr.io/$GITHUB_USER/openwhisk-controller
INVOKER_IMAGE: ghcr.io/$GITHUB_USER/openwhisk-invoker
STANDALONE_IMAGE: ghcr.io/$GITHUB_USER/openwhisk-standalone
COMMON_IMAGE: ghcr.io/$GITHUB_USER/openwhisk-common
ACT: "nothing"
S: ""

Expand Down Expand Up @@ -100,8 +101,8 @@ tasks:
- |-
echo "***" {{.ACT}} for {{.IMG}} in {{.DIR}}
case "{{.ACT}}" in
(build)
docker build {{.DIR}} -t {{.IMG}} --build-arg BASE={{.BASE}}
(build)
docker build {{.DIR}} -t {{.IMG}} --build-arg BASE={{.BASE}} --push
;;
(buildx)
docker buildx build --platform linux/amd64,linux/arm64 --build-arg BASE={{.BASE}} -t {{.IMG}} {{.DIR}}
Expand Down

0 comments on commit b36d132

Please sign in to comment.