2023-08-12 12:23:41 +00:00
|
|
|
# https://taskfile.dev
|
|
|
|
|
|
|
|
version: '3'
|
|
|
|
|
|
|
|
vars:
|
2023-09-19 11:11:21 +00:00
|
|
|
REGISTRY: harbor.rosti.cz
|
|
|
|
REPO: library/builder
|
|
|
|
VERSION: 38-1
|
2023-08-12 12:23:41 +00:00
|
|
|
|
|
|
|
tasks:
|
|
|
|
default:
|
|
|
|
deps:
|
|
|
|
- build
|
|
|
|
|
|
|
|
build:
|
|
|
|
cmds:
|
2023-09-19 11:11:21 +00:00
|
|
|
- docker build -t {{ .REGISTRY }}/{{ .REPO }}:{{ .VERSION }} .
|
2023-08-12 12:23:41 +00:00
|
|
|
|
|
|
|
push:
|
|
|
|
cmds:
|
2023-09-19 11:11:21 +00:00
|
|
|
- docker push {{ .REGISTRY }}/{{ .REPO }}:{{ .VERSION }}
|
2023-08-12 12:23:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|