Ughhhh
Some checks failed
Build and push Docker image / build (push) Failing after 2m18s
Build and push Docker image / deploy (push) Has been skipped

This commit is contained in:
toast 2024-09-22 03:29:12 +10:00
parent 960018f32e
commit 09450c3304

View File

@ -16,7 +16,20 @@ jobs:
steps: steps:
- name: Set up Docker environment - name: Set up Docker environment
run: | run: |
apt update && apt upgrade -y && apt install -y apt-transport-https ca-certificates curl zstd gnupg lsb-release python3-pip libssl-dev apt update && apt upgrade -y
DEPS=(
apt-transport-https
ca-certificates
curl
gnupg
lsb-release
python3-pip
libssl-dev
pkg-config
)
for dep in "${DEPS[@]}"; do
apt install -y "$dep"
done
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \ echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
@ -33,6 +46,7 @@ jobs:
uses: https://github.com/actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 uses: https://github.com/actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
id: cache id: cache
with: with:
save-always: true
path: | path: |
$HOME/.cargo/bin/ $HOME/.cargo/bin/
$HOME/.cargo/git/ $HOME/.cargo/git/