Skip to content

Commit

Permalink
revert, i don't have curl apparently
Browse files Browse the repository at this point in the history
  • Loading branch information
RoblKyogre committed Feb 25, 2024
1 parent 71ed46c commit 21a4336
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
labels: ${{ steps.meta.outputs.labels }}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 21a4336

Please sign in to comment.