diff --git a/.drone.yml b/.drone.yml index 32370bb..661c2f0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,7 +4,7 @@ name: image building steps: - name: build&push - image: harbor.hq.rosti.cz/library/builder:36 + image: registry.kube.ceperka.net/library/builder:38 environment: # username: robot$library+droneci # password: diff --git a/Makefile b/Makefile deleted file mode 100644 index 6574ace..0000000 --- a/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -REPO=harbor.hq.rosti.cz/library/builder -VERSION=38 - -build: - docker build -t ${REPO}:${VERSION} . - -push: - docker push ${REPO}:${VERSION} diff --git a/Taskfile.yml b/Taskfile.yml new file mode 100644 index 0000000..6decfea --- /dev/null +++ b/Taskfile.yml @@ -0,0 +1,24 @@ +# https://taskfile.dev + +version: '3' + +vars: + REPO: registry.kube.ceperka.net/library/builder:38 + VERSION: 38 + +tasks: + default: + deps: + - build + + build: + cmds: + - docker build -t {{.REPO}}:{{.VERSION}} . + + push: + cmds: + - docker push {{.REPO}}:{{.VERSION}} + + + +