Skip to content

Commit 97ba9a7

Browse files
committed
Prepare release 1.5.0
1 parent 790bd44 commit 97ba9a7

11 files changed

Lines changed: 28 additions & 10 deletions

‎CHANGELOG.md‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,30 @@
77
-->
88

99
<!-- towncrier release notes start -->
10+
11+
## 1.5.0 (2026-09-04)
12+
13+
14+
### Feature
15+
16+
- Added an `env_file_path` input, which reads the additional environment variables from a file instead of taking them as content. `env_file` keeps its current meaning, so nothing breaks; supplying both is an error. @ericof [#3](https://github.com/kitconcept/docker-stack-deploy/issues/3)
17+
18+
19+
### Bugfix
20+
21+
- Fixed a stray newline or space in `remote_host` (or `registry`, `username`, `remote_port`, `remote_user`) breaking the deploy with an opaque `ssh: Could not resolve hostname`. Whitespace is now removed from those inputs, and the log says when it was. @ericof [#1](https://github.com/kitconcept/docker-stack-deploy/issues/1)
22+
- Fixed the deploy waiting until it timed out on a `mode: replicated-job` service that had already run to completion. @ericof [#13](https://github.com/kitconcept/docker-stack-deploy/issues/13)
23+
- Fixed the deploy waiting until it timed out on services the stack file scales to zero, and added the `docker stack ps` task list to the output when a deploy fails. @ericof [#19](https://github.com/kitconcept/docker-stack-deploy/issues/19)
24+
- Fixed `env_file` values containing spaces being truncated to their first word. Each line is now read whole and the value taken verbatim, matching `docker --env-file`. @ericof [#21](https://github.com/kitconcept/docker-stack-deploy/issues/21)
25+
26+
27+
### Internal
28+
29+
- Added a bats test suite for the shell scripts, run in CI together with shellcheck. @ericof
30+
- Added towncrier to manage the change log, with a CI check that every pull request carries a news fragment. @ericof
31+
- Updated the base image to `docker:29.5.3-cli-alpine3.23`. @dependabot
32+
33+
34+
### Documentation
35+
36+
- Documented how values reach the stack file, with worked examples for `env_file`, `env_file_path` and `stack_param`, and noted that `stack_param` is a one-variable special case of `env_file`. @ericof [#2](https://github.com/kitconcept/docker-stack-deploy/issues/2)

‎action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ inputs:
6868
default: ""
6969
runs:
7070
using: 'docker'
71-
image: 'docker://ghcr.io/kitconcept/docker-stack-deploy:latest'
71+
image: 'docker://ghcr.io/kitconcept/docker-stack-deploy:1.5.0'
7272
env:
7373
REGISTRY: ${{ inputs.registry }}
7474
USERNAME: ${{ inputs.username }}

‎news/+docker-base-image.internal‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎news/+test-harness.internal‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎news/+towncrier.internal‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎news/1.bugfix‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎news/13.bugfix‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎news/19.bugfix‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎news/2.documentation‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎news/21.bugfix‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)