try download

This commit is contained in:
holzi1005 2024-11-18 18:52:00 +01:00
parent 1b4b3a8e3d
commit 7714f7ef2a

View file

@ -57,12 +57,7 @@ RUN --mount=type=secret,id=ARTIFACT_USER \
ARTIFACT_USER=$(cat /run/secrets/ARTIFACT_USER) \
ARTIFACT_SECRET=$(cat /run/secrets/ARTIFACT_SECRET) \
ARTIFACT_URL=$(cat /run/secrets/ARTIFACT_URL) \
&& wget https://${ARTIFACT_USER}:${ARTIFACT_SECRET}@${ARTIFACT_URL}-${VERSION}.zip -O artifact.zip \
&& unzip artifact.zip -d /var/www/html/ \
&& chown -R nobody public \
&& chown -R nobody var \
&& chmod -R 700 public \
&& chmod -R 700 var
&& wget https://${ARTIFACT_USER}:${ARTIFACT_SECRET}@${ARTIFACT_URL}-${VERSION}.zip -O artifact.zip
RUN rm artifact.zip \
&& rm -r var/cache