hddhfgggsasdfa
All checks were successful
Build and push Docker image / build (push) Successful in 7m37s
Build and push Docker image / deploy (push) Successful in 1m4s

This commit is contained in:
toast 2024-09-22 04:41:15 +10:00
parent 26cc4fb093
commit 0010cdde83
2 changed files with 3 additions and 2 deletions

View File

@ -35,6 +35,7 @@ jobs:
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 uses: 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/
@ -80,7 +81,7 @@ jobs:
deploy: deploy:
runs-on: alpine-latest runs-on: host
needs: build needs: build
steps: steps:
- name: Deploy update - name: Deploy update

View File

@ -6,5 +6,5 @@ FROM alpine:3.20
LABEL org.opencontainers.image.source="https://git.toast-server.net/toast/Kon" LABEL org.opencontainers.image.source="https://git.toast-server.net/toast/Kon"
RUN apk add --no-cache libgcc fluidsynth RUN apk add --no-cache libgcc fluidsynth
WORKDIR /kon WORKDIR /kon
COPY --from=builder /builder/target/x86_64-unknown-linux-musl/release/kon . COPY --from=base /builder/target/x86_64-unknown-linux-musl/release/kon .
CMD [ "./kon" ] CMD [ "./kon" ]