Skip to content

Commit

Permalink
fix(config): use 'latest' docker-compose versions from github
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-smit committed May 19, 2021
1 parent 2f60c21 commit d434e25
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ docker:
binary:
options: ''
# yamllint disable-line rule:line-length
source: 'https://github.com/docker/compose/releases/download/1.29.2/docker-compose-Linux-x86_64'
source_hash: 'f3f10cf3dbb8107e9ba2ea5f23c1d2159ff7321d16f0a23051d68d8e2547b323'
source: 'https://github.com/docker/compose/releases/latest/download/docker-compose-Linux-x86_64'
source_hash: null

networks: {}
containers:
Expand Down
1 change: 1 addition & 0 deletions docker/map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
{%- if 'source_hash' in p.binary and p.binary.source_hash %}
{%- do p.binary.update({'name': p.path, 'source_hash': p.binary.source_hash}) %}
{%- else %}
{%- set url = p.binary.source %}
{%- do p.binary.update({'name': p.path, 'source_hash': url ~ '.sha256'}) %}
{%- endif %}

Expand Down
4 changes: 2 additions & 2 deletions docker/osfamilymap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ MacOS:
name: docker-compose # homebrew
use_upstream: package # Docker Desktop
archive:
source: 'https://github.com/docker/compose/releases/download/v1.29.2/docker-compose-Darwin-x86_64'
source_hash: '21924dff117140a8c4b599c502829a8b75d1ba942e4cf5734a2a27f9d82d16f6'
source: 'https://github.com/docker/compose/releases/latest/download/docker-compose-Darwin-x86_64'
source_hash: null

Windows:
div: '\'
Expand Down

0 comments on commit d434e25

Please sign in to comment.