make back
This commit is contained in:
parent
7714f7ef2a
commit
bf5e9c41a6
1 changed files with 6 additions and 1 deletions
|
@ -57,7 +57,12 @@ 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
|
||||
&& 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
|
||||
|
||||
RUN rm artifact.zip \
|
||||
&& rm -r var/cache
|
||||
|
|
Loading…
Reference in a new issue