Compare commits
No commits in common. "cbc336b974355d15caf24a44e11dcd217763d470" and "fc63b09cfb5079ad475af4c1f0ff91c059ed0c4f" have entirely different histories.
cbc336b974
...
fc63b09cfb
2 changed files with 1 additions and 67 deletions
65
.drone.yml
65
.drone.yml
|
@ -1,65 +0,0 @@
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: debug
|
|
||||||
image: alpine
|
|
||||||
commands:
|
|
||||||
- 'echo "Repository: glenux/service-drone-runner"'
|
|
||||||
- 'echo "Git commit: ${DRONE_COMMIT_SHA:0:8}"'
|
|
||||||
|
|
||||||
- name: publish:commit_sha
|
|
||||||
image: plugins/docker
|
|
||||||
# pull: never
|
|
||||||
# volumes:
|
|
||||||
# - name: cache
|
|
||||||
# path: /stupid
|
|
||||||
environment:
|
|
||||||
DOCKER_REPO: glenux/service-drone-runner
|
|
||||||
settings:
|
|
||||||
username:
|
|
||||||
from_secret: DOCKERHUB_USERNAME
|
|
||||||
password:
|
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
|
||||||
cache_from: "glenux/service-drone-runner:latest_${DRONE_BRANCH/\\//-}"
|
|
||||||
repo: glenux/service-drone-runner
|
|
||||||
tags: "${DRONE_COMMIT_SHA:0:8}"
|
|
||||||
purge: false
|
|
||||||
|
|
||||||
- name: publish:commit_branch
|
|
||||||
image: plugins/docker
|
|
||||||
# volumes:
|
|
||||||
# - name: cache
|
|
||||||
# path: /stupid
|
|
||||||
settings:
|
|
||||||
username:
|
|
||||||
from_secret: DOCKERHUB_USERNAME
|
|
||||||
password:
|
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
|
||||||
cache_from: "glenux/service-drone-runner:latest_${DRONE_BRANCH/\\//-}"
|
|
||||||
repo: glenux/service-drone-runner
|
|
||||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
|
||||||
purge: false
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- "master"
|
|
||||||
- "develop"
|
|
||||||
- "feature/*"
|
|
||||||
|
|
||||||
- name: publish:latest
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
username:
|
|
||||||
from_secret: DOCKERHUB_USERNAME
|
|
||||||
password:
|
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
|
||||||
cache_from: "glenux/service-drone-runner:latest_${DRONE_BRANCH/\\//-}"
|
|
||||||
repo: glenux/service-drone-runner
|
|
||||||
tags: latest
|
|
||||||
purge: false
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
|
|
|
@ -6,11 +6,10 @@ Create APP
|
||||||
|
|
||||||
dokku apps:create cicd-agent
|
dokku apps:create cicd-agent
|
||||||
|
|
||||||
Setup Network
|
Setup Network & Domains
|
||||||
|
|
||||||
dokku network:create cicd_net
|
dokku network:create cicd_net
|
||||||
dokku network:set cicd-agent attach-post-create cicd_net
|
dokku network:set cicd-agent attach-post-create cicd_net
|
||||||
dokku proxy:disable cicd-agent
|
|
||||||
|
|
||||||
Setup Volumes
|
Setup Volumes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue