This commit is contained in:
@ -14,7 +14,7 @@ steps:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
DOCKER_REGISTRY: gitea.service.jazzwhom.top
|
||||
volumes:
|
||||
- name: /var/run/docker.sock
|
||||
- name: docker-socket
|
||||
path: /var/run/docker.sock
|
||||
|
||||
commands:
|
||||
@ -28,7 +28,7 @@ steps:
|
||||
image: docker:latest
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: /var/run/docker.sock
|
||||
- name: docker-socket
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker rmi "$DOCKER_REGISTRY/your-org/your-app:$DOCKER_TAG"
|
||||
@ -41,3 +41,8 @@ steps:
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
|
||||
volumes:
|
||||
- name: docker-socket
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
Reference in New Issue
Block a user