ci: remove useless build step
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Glenn Y. Rolland 2023-01-16 12:18:02 +01:00
parent 19e166d879
commit e3ef99661a
1 changed files with 3 additions and 21 deletions

View File

@ -12,26 +12,6 @@ steps:
- 'echo "Repository: glenux/docmachine"'
- '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
image: plugins/docker
# volumes:
@ -46,7 +26,9 @@ steps:
context: .
dockerfile: docker/Dockerfile
repo: glenux/docmachine
tags: "latest_${DRONE_BRANCH/\\//-}"
tags:
- "latest_${DRONE_BRANCH/\\//-}"
- "${DRONE_COMMIT_SHA:0:8}"
purge: false
when:
branch: