I wonder if this will ever work..
All checks were successful
Build and push container image / build (push) Successful in 7m33s
All checks were successful
Build and push container image / build (push) Successful in 7m33s
This commit is contained in:
parent
095873e848
commit
a048f96faf
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user