compose: use docker compose, not docker-compose
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
* get on with the times...plus the old form does not like the compose file anymore * also add an empty volume to make compose happy
This commit is contained in:
parent
b796f72abc
commit
9bbfef4c39
10
.drone.yml
10
.drone.yml
@ -147,7 +147,7 @@ steps:
|
||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||
DOCKER_BUILDKIT: 1
|
||||
commands:
|
||||
- docker-compose -f docker-compose.yml config -q
|
||||
- docker compose -f docker-compose.yml config -q
|
||||
|
||||
- name: build
|
||||
pull: always
|
||||
@ -160,7 +160,7 @@ steps:
|
||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||
DOCKER_BUILDKIT: 1
|
||||
commands:
|
||||
- docker-compose build --build-arg VCS_REF=${DRONE_COMMIT} --no-cache --pull
|
||||
- docker compose build --build-arg VCS_REF=${DRONE_COMMIT} --no-cache --pull
|
||||
|
||||
volumes:
|
||||
- name: s
|
||||
@ -292,7 +292,7 @@ steps:
|
||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||
DOCKER_BUILDKIT: 1
|
||||
commands:
|
||||
- docker-compose -f docker-compose.yml config -q
|
||||
- docker compose -f docker-compose.yml config -q
|
||||
|
||||
- name: go fmt
|
||||
image: docker.io/library/golang:1.21.0-alpine3.18
|
||||
@ -348,7 +348,7 @@ steps:
|
||||
- name: s
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker-compose build --build-arg VCS_REF=${DRONE_COMMIT} --no-cache
|
||||
- docker compose build --build-arg VCS_REF=${DRONE_COMMIT} --no-cache
|
||||
when:
|
||||
branch: master
|
||||
status: success
|
||||
@ -362,7 +362,7 @@ steps:
|
||||
- name: s
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker-compose -p ${DRONE_REPO_NAME} up
|
||||
- docker compose -p ${DRONE_REPO_NAME} up
|
||||
-d
|
||||
--remove-orphans
|
||||
--scale homepage=1
|
||||
|
@ -50,4 +50,7 @@ networks:
|
||||
# internal: true
|
||||
default:
|
||||
|
||||
volumes:
|
||||
none:
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user