Update Dockerfile, .gitlab-ci.yml

This commit is contained in:
Dedy Martadinata Supriyadi 2022-02-11 09:16:00 +00:00
parent eed268165b
commit 7a6a6377df
2 changed files with 5 additions and 2 deletions

View File

@ -36,6 +36,7 @@ build-deemix:
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file ${ZIP_NAME}.zip ${PACKAGE_REGISTRY_URL}/${ZIP_NAME}.zip
- |
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file ${ZIP_NAME}.zip ${PACKAGE_REGISTRY_URL}/${ZIP_NAME}-${DATE}.zip
- echo ${PACKAGE_REGISTRY_URL}/${ZIP_NAME}.zip #This for download URL dockerfile
artifacts:
paths:
- deemix-docker/

View File

@ -21,8 +21,10 @@ RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash && \
rm -rf /var/lib/apt/lists/* && \
mkdir /downloads
RUN curl -L -o deemix.zip http://gitlab.com/Bockiii/deemix-src/-/jobs/artifacts/master/download?job=dl_src && \
unzip deemix
#RUN curl -L -o deemix.zip http://gitlab.com/Bockiii/deemix-src/-/jobs/artifacts/master/download?job=dl_src && \
# unzip deemix
curl -L https://gitlab.com/api/v4/projects/47/packages/generic//pigallery2/pigallery2.zip -o deemix-docker.zip
COPY root/ /