This commit is contained in:
@@ -12,13 +12,13 @@ trigger:
|
||||
steps:
|
||||
- name: restart-bot
|
||||
image: docker/compose:latest # Image with Docker Compose
|
||||
volumes:
|
||||
# Explicitly mounting docker_sock for this step's container
|
||||
- name: docker_sock
|
||||
path: /var/run/docker.sock
|
||||
# Mounting the docker-compose.yml directory
|
||||
- name: docker_compose_dir
|
||||
path: /app # Mount point inside the container
|
||||
# volumes:
|
||||
# # Explicitly mounting docker_sock for this step's container
|
||||
# - name: docker_sock
|
||||
# path: /var/run/docker.sock
|
||||
# # Mounting the docker-compose.yml directory
|
||||
# - name: docker_compose_dir
|
||||
# path: /app # Mount point inside the container
|
||||
commands:
|
||||
- cd /app
|
||||
# Execute the Docker Compose command
|
||||
|
||||
Reference in New Issue
Block a user