Skip to content

Commit

Permalink
fixing runners
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieMc0 committed Jan 5, 2024
1 parent 96c927e commit 17bc55b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
31 changes: 18 additions & 13 deletions .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,21 @@ runs:
if: ${{ inputs.skip_docker_compose == 'false' }}
shell: bash
run: |
sudo apt-get update || echo "Issue running apt-get update."
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release -y || echo "issue installing dependencies"
sudo mkdir -p /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --no-tty --batch --dearmor --yes -o /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update || echo "Issue running apt-get update."
sudo apt-get install docker-compose-plugin -y || echo "Issue installing docker compose"
DESTINATION=/usr/local/bin/docker-compose
VERSION=v2.23.3
sudo curl -L https://github.com/docker/compose/releases/download/${VERSION}/docker-compose-$(uname -s)-$(uname -m) -o $DESTINATION
sudo chmod 755 $DESTINATION
# sudo apt-get update || echo "Issue running apt-get update."
# sudo apt-get install \
# ca-certificates \
# curl \
# gnupg \
# lsb-release -y || echo "issue installing dependencies"
# sudo mkdir -p /etc/apt/keyrings
# sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --no-tty --batch --dearmor --yes -o /etc/apt/keyrings/docker.gpg
# echo \
# "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
# $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# sudo apt-get update || echo "Issue running apt-get update."
# sudo apt-get install docker-compose-plugin -y || echo "Issue installing docker compose"
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,7 @@ jobs:
cd contrib/localnet
# pip uninstall docker-compose
# sudo apt-get install docker-compose-plugin docker-compose
# DESTINATION=/usr/local/bin/docker-compose
# VERSION=v2.23.3
# sudo curl -L https://github.com/docker/compose/releases/download/${VERSION}/docker-compose-$(uname -s)-$(uname -m) -o $DESTINATION
Expand Down

0 comments on commit 17bc55b

Please sign in to comment.