ci: remove useless build step
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
19e166d879
commit
e3ef99661a
1 changed files with 3 additions and 21 deletions
24
.drone.yml
24
.drone.yml
|
@ -12,26 +12,6 @@ steps:
|
||||||
- 'echo "Repository: glenux/docmachine"'
|
- 'echo "Repository: glenux/docmachine"'
|
||||||
- 'echo "Git commit: ${DRONE_COMMIT_SHA:0:8}"'
|
- '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/docmachine
|
|
||||||
settings:
|
|
||||||
username:
|
|
||||||
from_secret: DOCKERHUB_USERNAME
|
|
||||||
password:
|
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
|
||||||
cache_from: "glenux/docmachine:latest_${DRONE_BRANCH/\\//-}"
|
|
||||||
context: .
|
|
||||||
dockerfile: docker/Dockerfile
|
|
||||||
repo: glenux/docmachine
|
|
||||||
tags: "${DRONE_COMMIT_SHA:0:8}"
|
|
||||||
purge: false
|
|
||||||
|
|
||||||
- name: publish:commit_branch
|
- name: publish:commit_branch
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
# volumes:
|
# volumes:
|
||||||
|
@ -46,7 +26,9 @@ steps:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
repo: glenux/docmachine
|
repo: glenux/docmachine
|
||||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
tags:
|
||||||
|
- "latest_${DRONE_BRANCH/\\//-}"
|
||||||
|
- "${DRONE_COMMIT_SHA:0:8}"
|
||||||
purge: false
|
purge: false
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Reference in a new issue