Migrate builds to drone
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
10951ae362
commit
25e4a3bb7f
2 changed files with 12 additions and 13 deletions
12
.drone.yml
Normal file
12
.drone.yml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username: functionalhacker
|
||||||
|
password:
|
||||||
|
from_secret: docker_hub_password
|
||||||
|
repo: functionalhacker/gitea-asciidoc
|
||||||
|
tags: latest
|
13
Makefile
13
Makefile
|
@ -1,13 +0,0 @@
|
||||||
.PHONY: pull image push
|
|
||||||
|
|
||||||
REPO=docker.io
|
|
||||||
IMAGE=functionalhacker/gitea-asciidoc
|
|
||||||
|
|
||||||
pull:
|
|
||||||
@docker pull gitea/gitea:1
|
|
||||||
|
|
||||||
image: pull
|
|
||||||
@docker build . -t ${REPO}/${IMAGE}
|
|
||||||
|
|
||||||
push: image
|
|
||||||
@docker push ${REPO}/${IMAGE}
|
|
Loading…
Reference in a new issue