Remove: Deprecated VERSION variable

This commit is contained in:
PassiveLemon 2024-06-20 10:57:34 -04:00
parent 3ec1d9c888
commit 123d3bcf3f
2 changed files with 0 additions and 4 deletions

View File

@ -33,7 +33,6 @@ jobs:
docker buildx create --name mainbuilder --driver docker-container --platform linux/amd64,linux/arm64 --use
docker buildx build --push \
--build-arg VERSION=${{ github.event.release.tag_name }} \
--provenance=false \
--platform linux/amd64,linux/arm64 \
--tag zoraxydocker/zoraxy:${{ github.event.release.tag_name }} \

View File

@ -1,6 +1,4 @@
FROM docker.io/golang:alpine
# VERSION comes from the main.yml workflow --build-arg
ARG VERSION
RUN apk add --no-cache bash netcat-openbsd sudo
@ -26,7 +24,6 @@ RUN chmod 755 /usr/local/bin/zoraxy &&\
WORKDIR /opt/zoraxy/config/
ENV VERSION=$VERSION
ENV ARGS="-noauth=false"
ENTRYPOINT "zoraxy" "-port=:8000" "-docker=true" "${ARGS}"