I wonder if this will ever work..
All checks were successful
Build and push container image / build (push) Successful in 7m33s

This commit is contained in:
toast 2024-01-07 23:57:46 +11:00
parent 095873e848
commit a048f96faf
2 changed files with 3 additions and 4 deletions

View File

@ -9,13 +9,12 @@ jobs:
steps:
- name: Set up Docker environment
run: |
apt update
apt install -y apt-transport-https ca-certificates curl gnupg lsb-release
apt update && apt install -y apt-transport-https ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update
apt update && apt upgrade -y && \
apt install -y docker-ce docker-ce-cli containerd.io
- name: Checkout branch

View File

@ -3,7 +3,7 @@ ENV RUSTFLAGS="-C target-feature=-crt-static"
RUN apk add --no-cache openssl-dev musl-dev
WORKDIR /usr/src/kon
COPY . .
RUN cargo fetch && cargo build -r
RUN --mount=type=cache,target=/usr/local/cargo/registry cargo fetch && cargo build -r
FROM alpine:3.19@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48
RUN apk add --no-cache openssl-dev libgcc