This commit is contained in:
2025-06-05 18:08:54 +02:00
parent b058be666d
commit 4a5d0f4321

View File

@ -28,26 +28,28 @@ jobs:
esac esac
echo "ARCH=${ARCH}" >> ${GITHUB_ENV} echo "ARCH=${ARCH}" >> ${GITHUB_ENV}
- name: install tools echo ${GITHUB_ENV}
run: |
apt update -y # - name: install tools
apt install -y curl ca-certificates curl gnupg # run: |
# helm # apt update -y
curl -O https://get.helm.sh/helm-v${{ env.HELM_VERSION }}-${OS}-${ARCH}.tar.gz # apt install -y curl ca-certificates curl gnupg
tar -xzf helm-v${{ env.HELM_VERSION }}-${OS}-${ARCH}.tar.gz # # helm
mv ${OS}-${ARCH}/helm /usr/local/bin/ # curl -O https://get.helm.sh/helm-v${{ env.HELM_VERSION }}-${OS}-${ARCH}.tar.gz
rm -rf ${OS}-${ARCH} helm-v${{ env.HELM_VERSION }}-${OS}-${ARCH}.tar.gz # tar -xzf helm-v${{ env.HELM_VERSION }}-${OS}-${ARCH}.tar.gz
helm version # mv ${OS}-${ARCH}/helm /usr/local/bin/
# docker # rm -rf ${OS}-${ARCH} helm-v${{ env.HELM_VERSION }}-${OS}-${ARCH}.tar.gz
install -m 0755 -d /etc/apt/keyrings # helm version
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg # # docker
chmod a+r /etc/apt/keyrings/docker.gpg # install -m 0755 -d /etc/apt/keyrings
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 # curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
apt update -y # chmod a+r /etc/apt/keyrings/docker.gpg
apt install -y python3 python3-pip apt-transport-https docker-ce-cli # 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
pip install awscli --break-system-packages # apt update -y
# jq # apt install -y python3 python3-pip apt-transport-https docker-ce-cli
apt install -y jq # pip install awscli --break-system-packages
# # jq
# apt install -y jq
# - name: Import GPG key # - name: Import GPG key
# id: import_gpg # id: import_gpg