database-backup-image/Taskfile.yml
Adam Štrauch 737e6846e5
All checks were successful
Build a dev image / build (push) Successful in 13s
Release of a new version / build (release) Successful in 17s
Initial commit
2025-10-18 01:48:43 +02:00

21 lines
509 B
YAML

# https://taskfile.dev
version: '3'
vars:
IMAGE: gitea.ceperka.net/rosti/db-backup
TAG: dev
tasks:
build:
cmds:
- docker build -t {{ .IMAGE }}:{{ .TAG }} .
tag-latest:
cmds:
- docker tag {{ .IMAGE }}:{{ .TAG }} {{ .IMAGE }}:latest
push:
cmds:
- docker push {{ .IMAGE }}:{{ .TAG }}
testdb:
cmds:
- docker run -d --name testmariadb --env MARIADB_USER=maria --env MARIADB_PASSWORD=maria --env MARIADB_DATABASE=maria --env MARIADB_ROOT_PASSWORD=maria mariadb:latest