switch to drone

This commit is contained in:
damage 2024-06-30 20:40:07 +02:00
parent fd29c104cb
commit 766bd82cdd
2 changed files with 16 additions and 7 deletions

View File

@ -1,9 +1,3 @@
#!/bin/bash
now=`date +%Y%m%d%H%M%S`
docker image build --pull --tag "source.devloop.de/docker/pdns:${now}" .
docker image tag "source.devloop.de/docker/pdns:${now}" "source.devloop.de/docker/pdns:latest"
docker image push "source.devloop.de/docker/pdns:${now}"
docker image push "source.devloop.de/docker/pdns:latest"
docker image build --pull .

15
drone.yml Normal file
View File

@ -0,0 +1,15 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry: source.devloop.de
repo: source.devloop.de/docker/pdns
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest