This commit is contained in:
21
.drone.yml
21
.drone.yml
@@ -111,32 +111,13 @@ steps:
|
|||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
- docker login git.mifi.dev
|
- docker login git.mifi.dev
|
||||||
- docker build -t git.mifi.dev/mifi/mifi/auth:latest -t git.mifi.dev/mifi/mifi/auth:${DRONE_TAG} .
|
- 'docker build -t git.mifi.dev/mifi/mifi/auth:latest -t git.mifi.dev/mifi/mifi/auth:${DRONE_TAG} .'
|
||||||
- docker push git.mifi.dev/mifi/mifi/auth:latest
|
- docker push git.mifi.dev/mifi/mifi/auth:latest
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
- name: dockerconfig
|
- name: dockerconfig
|
||||||
path: /drone/grow/.docker/config.json
|
path: /drone/grow/.docker/config.json
|
||||||
# - name: Publish Image
|
|
||||||
# image: plugins/docker
|
|
||||||
# settings:
|
|
||||||
# auto_tag: true
|
|
||||||
# squash: true
|
|
||||||
# repo: git.mifi.dev/mifi/auth
|
|
||||||
# context: mifi
|
|
||||||
# registry: git.mifi.dev
|
|
||||||
# username:
|
|
||||||
# from_secret: registry_username
|
|
||||||
# password:
|
|
||||||
# from_secret: registry_password
|
|
||||||
# ssh-agent-key:
|
|
||||||
# from_secret: gitea_token
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run/docker.sock
|
|
||||||
- name: dockerconfig
|
|
||||||
path: /drone/grow/.docker/config.json
|
|
||||||
- name: Report Image Publish Status
|
- name: Report Image Publish Status
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
|
|||||||
Reference in New Issue
Block a user