compose: use docker compose, not docker-compose
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:
surtur 2024-05-28 22:45:53 +02:00 committed by t14
parent b796f72abc
commit 9bbfef4c39
Signed by: wanderer
SSH Key Fingerprint: SHA256:szgNfbjbimyesAS1xfRZ0DY3hcNv9xC9ocRCJjD4Wgg
2 changed files with 8 additions and 5 deletions

@ -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:
...