Stop pinning DOCKER_API_VERSION to 1.41 in CI
The pin let compose talk to the Pi's Docker 20.10. The host now runs Docker 29 (API 1.56), so it only held compose to an old API. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -168,7 +168,6 @@ jobs:
|
|||||||
- name: Run docker compose up
|
- name: Run docker compose up
|
||||||
working-directory: /home/adamf/deploy/web_server
|
working-directory: /home/adamf/deploy/web_server
|
||||||
env:
|
env:
|
||||||
DOCKER_API_VERSION: "1.41"
|
|
||||||
COMPOSE_BAKE: "false"
|
COMPOSE_BAKE: "false"
|
||||||
# The lock is shared with maintenance.yaml, so a deploy and the
|
# The lock is shared with maintenance.yaml, so a deploy and the
|
||||||
# weekly rebuild cannot run compose at the same time.
|
# weekly rebuild cannot run compose at the same time.
|
||||||
|
|||||||
@@ -32,14 +32,10 @@ jobs:
|
|||||||
# behind a long pull.
|
# behind a long pull.
|
||||||
- name: Pull latest base images
|
- name: Pull latest base images
|
||||||
working-directory: /home/adamf/deploy/web_server
|
working-directory: /home/adamf/deploy/web_server
|
||||||
env:
|
|
||||||
DOCKER_API_VERSION: "1.41"
|
|
||||||
run: flock .compose.lock docker compose pull
|
run: flock .compose.lock docker compose pull
|
||||||
|
|
||||||
- name: Rebuild and restart containers
|
- name: Rebuild and restart containers
|
||||||
working-directory: /home/adamf/deploy/web_server
|
working-directory: /home/adamf/deploy/web_server
|
||||||
env:
|
|
||||||
DOCKER_API_VERSION: "1.41"
|
|
||||||
run: flock .compose.lock docker compose up -d --build --remove-orphans
|
run: flock .compose.lock docker compose up -d --build --remove-orphans
|
||||||
|
|
||||||
- name: Prune unused Docker images
|
- name: Prune unused Docker images
|
||||||
|
|||||||
Reference in New Issue
Block a user