From 21a433637a5ae2cb4a609ab1caec96afc829bad0 Mon Sep 17 00:00:00 2001 From: RoblKyogre Date: Sat, 24 Feb 2024 20:10:25 -0800 Subject: [PATCH] revert, i don't have curl apparently --- .github/workflows/docker-ci.yml | 4 +--- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-ci.yml b/.github/workflows/docker-ci.yml index d2bcd0b..5573a36 100644 --- a/.github/workflows/docker-ci.yml +++ b/.github/workflows/docker-ci.yml @@ -59,6 +59,4 @@ jobs: platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - secrets: | - "JITPACK_TOKEN=${{ secrets.JITPACK_TOKEN }}" \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 1adb1e6..5e0d2b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,12 +21,12 @@ ARG TARGETOS ARG TARGETARCH ARG TARGETVARIANT +RUN apk add curl COPY /root / WORKDIR /app #COPY --from=viaaas-build /builder/VIAaaS/build/libs/VIAaaS-*-all.jar /app/VIAaaS-all.jar -RUN --mount=type=secret,id=JITPACK_TOKEN \ - curl -u$(cat /run/secrets/JITPACK_TOKEN) -Lf --output /app/VIAaaS-all.jar "https://jitpack.io/com/github/ViaVersion/VIAaaS/master-SNAPSHOT/VIAaaS-master-SNAPSHOT-all.jar" +RUN curl -Lf --output /app/VIAaaS-all.jar "https://jitpack.io/com/github/ViaVersion/VIAaaS/master-SNAPSHOT/VIAaaS-master-SNAPSHOT-all.jar" STOPSIGNAL SIGTERM