ci: remove useless build step
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Glenn Y. Rolland 2023-01-16 12:18:02 +01:00
parent 19e166d879
commit e3ef99661a

View file

@ -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: