Skip to content

Commit 513f8c6

Browse files
committed
refactor: task endpoints are now prefixed publish
1 parent c6d479e commit 513f8c6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Taskfile.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,27 @@ tasks:
1010
- |
1111
docker buildx build \
1212
--platform=linux/amd64,linux/arm64 \
13-
-t ghcr.io/{{.ORG_NAME}}/{{.PACKAGE_NAME}}:v{{.PROJ_VER}} \
13+
-t ghcr.io/{{.ORG_NAME}}/{{.PACKAGE_NAME}}:{{.PROJ_VER}} \
1414
-t ghcr.io/{{.ORG_NAME}}/{{.PACKAGE_NAME}}:latest \
1515
-f Dockerfile.prod .
1616
vars:
1717
PROJ_VER:
1818
sh: "task version"
19-
release:image:
19+
publish:image:
2020
prompt: "Before we build, is the version number up to date?"
2121
desc: builds a publishable docker image
2222
cmds:
2323
- |
2424
docker buildx build \
2525
--platform=linux/amd64,linux/arm64 \
2626
--push \
27-
-t ghcr.io/{{.ORG_NAME}}/{{.PACKAGE_NAME}}:v{{.PROJ_VER}} \
27+
-t ghcr.io/{{.ORG_NAME}}/{{.PACKAGE_NAME}}:{{.PROJ_VER}} \
2828
-t ghcr.io/{{.ORG_NAME}}/{{.PACKAGE_NAME}}:latest \
2929
-f Dockerfile.prod .
3030
vars:
3131
PROJ_VER:
3232
sh: "task version"
33-
release:chart:
33+
publish:chart:
3434
prompt: "Before we build, is the version number up to date?"
3535
desc: builds and publishes the helm chart for this project
3636
dir: charts
@@ -40,7 +40,7 @@ tasks:
4040
vars:
4141
PROJ_VER:
4242
sh: "task version"
43-
release:tag:
43+
publish:tag:
4444
prompt: "Before we push, is the version number up to date?"
4545
desc: tag a release and push to origin
4646
summary: |

0 commit comments

Comments
 (0)