Skip to content

Commit

Permalink
Bump to latest version of buildx and docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
potiuk committed Mar 19, 2022
1 parent 5aadb7a commit 31a5a80
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion github-runner-ami/packer/files/docker-buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [[ ${architecture} == "x86_64" ]] ; then
architecture="amd64"
fi
# Hard-code docker buildx version
buildx_version="v0.7.1"
buildx_version="v0.8.0"
buildx_binary="buildx-${buildx_version}.$(uname -s)-${architecture}"
plugins_dir="/home/runner/.docker/cli-plugins"
sudo -u runner mkdir -pv "${plugins_dir}"
Expand Down
4 changes: 2 additions & 2 deletions github-runner-ami/packer/files/docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ set -exu -o pipefail
#curl --fail -L "$URL" -o /usr/local/bin/docker-compose
#chmod +x /usr/local/bin/docker-compose

# Hard-code docker-compose 1.29.2
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
# Hard-code docker-compose 2.3.3
curl -L "https://github.com/docker/compose/releases/download/2.3.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
2 changes: 1 addition & 1 deletion github-runner-ami/packer/ubuntu2004.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ source "amazon-ebs" "runner_builder" {
#access_key = ""
#secret_key = ""
region = var.aws_regions[0]
ami_name = "${var.ami_name}-${var.runner_version}-v1"
ami_name = "${var.ami_name}-${var.runner_version}-v2"
ami_regions = var.aws_regions
tag {
key = "Name"
Expand Down

0 comments on commit 31a5a80

Please sign in to comment.