add credentials for dockerhub
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jeffrey Paul 2022-12-08 23:43:43 +04:00
parent e63d1d9e48
commit b970f90af6

View File

@ -3,22 +3,26 @@ kind: pipeline
name: build-and-upload name: build-and-upload
steps: steps:
- name: build-and-push - name: build-and-push
image: plugins/docker image: plugins/docker
environment: environment:
DOCKER_BUILDKIT: 1 DOCKER_BUILDKIT: 1
network_mode: bridge network_mode: bridge
settings: settings:
repo: sneak/builder repo: sneak/builder
custom_dns: [ 116.202.204.30 ] custom_dns: [116.202.204.30]
tags: tags:
- ${DRONE_COMMIT_SHA} - ${DRONE_COMMIT_SHA}
- ${DRONE_BRANCH} - ${DRONE_BRANCH}
- latest - latest
- name: notify username:
image: plugins/slack from_secret: DOCKER_USERNAME
settings: password:
webhook: from_secret: DOCKER_TOKEN
from_secret: SLACK_WEBHOOK_URL - name: notify
when: image: plugins/slack
event: pull_request settings:
webhook:
from_secret: SLACK_WEBHOOK_URL
when:
event: pull_request