This commit is contained in:
parent
40acee36ff
commit
10cef87bc3
@ -29,31 +29,26 @@ jobs:
|
||||
echo "ARCH=${ARCH}" >> $GITHUB_ENV
|
||||
echo "INFO: Set ARCH to '${ARCH}'"
|
||||
|
||||
- name: Print Architecture and Operating System
|
||||
- name: install tools
|
||||
run: |
|
||||
echo "INFO: Set OS to '${OS}'"
|
||||
echo "INFO: Set ARCH to '${ARCH}'"
|
||||
|
||||
# - name: install tools
|
||||
# run: |
|
||||
# apt update -y
|
||||
# apt install -y curl ca-certificates curl gnupg
|
||||
# # helm
|
||||
# curl -O https://get.helm.sh/helm-v${{ env.HELM_VERSION }}-linux-amd64.tar.gz
|
||||
# tar -xzf helm-v${{ env.HELM_VERSION }}-linux-amd64.tar.gz
|
||||
# mv linux-amd64/helm /usr/local/bin/
|
||||
# rm -rf linux-amd64 helm-v${{ env.HELM_VERSION }}-linux-amd64.tar.gz
|
||||
# helm version
|
||||
# # docker
|
||||
# install -m 0755 -d /etc/apt/keyrings
|
||||
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
# chmod a+r /etc/apt/keyrings/docker.gpg
|
||||
# echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
# apt update -y
|
||||
# apt install -y python3 python3-pip apt-transport-https docker-ce-cli
|
||||
# pip install awscli --break-system-packages
|
||||
# # jq
|
||||
# apt install -y jq
|
||||
apt update -y
|
||||
apt install -y curl ca-certificates curl gnupg
|
||||
# helm
|
||||
curl -O https://get.helm.sh/helm-v${{ env.HELM_VERSION }}-${OS}-${ARCH}.tar.gz
|
||||
tar -xzf helm-v${{ env.HELM_VERSION }}-${OS}-${ARCH}.tar.gz
|
||||
mv ${OS}-${ARCH}/helm /usr/local/bin/
|
||||
rm -rf ${OS}-${ARCH} helm-v${{ env.HELM_VERSION }}-${OS}-${ARCH}.tar.gz
|
||||
helm version
|
||||
# docker
|
||||
install -m 0755 -d /etc/apt/keyrings
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
chmod a+r /etc/apt/keyrings/docker.gpg
|
||||
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
apt update -y
|
||||
apt install -y python3 python3-pip apt-transport-https docker-ce-cli
|
||||
pip install awscli --break-system-packages
|
||||
# jq
|
||||
apt install -y jq
|
||||
|
||||
# - name: Import GPG key
|
||||
# id: import_gpg
|
||||
|
Loading…
x
Reference in New Issue
Block a user