This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git
The following commit(s) were added to refs/heads/main by this push:
new 6c7a353 Docker-compose uses lowercase Linux now :(
6c7a353 is described below
commit 6c7a353b41f31693f39f96360c5d23194fe3bbb8
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Oct 3 19:12:05 2021 +0200
Docker-compose uses lowercase Linux now :(
---
github-runner-ami/packer/files/docker-compose.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/github-runner-ami/packer/files/docker-compose.sh
b/github-runner-ami/packer/files/docker-compose.sh
index 378b7e5..d158ac8 100644
--- a/github-runner-ami/packer/files/docker-compose.sh
+++ b/github-runner-ami/packer/files/docker-compose.sh
@@ -20,6 +20,6 @@
set -exu -o pipefail
#
https://github.com/actions/virtual-environments/blob/525f79f479cca77aef4e0a680548b65534c64a18/images/linux/scripts/installers/docker-compose.sh
-URL=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq
-r '.assets[].browser_download_url |
select(endswith("docker-compose-Linux-x86_64"))')
+URL=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq
-r '.assets[].browser_download_url |
select(endswith("docker-compose-linux-x86_64"))')
curl --fail -L "$URL" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose