mirror of
https://gitlab.com/Bockiii/deemix-docker.git
synced 2024-08-30 17:32:18 +00:00
final test
This commit is contained in:
parent
6754430a40
commit
28ba3d3458
@ -35,8 +35,6 @@ build-deemix:
|
||||
- zip -9 -r ${ZIP_NAME}.zip deemix-docker
|
||||
- |
|
||||
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:
|
||||
@ -51,9 +49,7 @@ create-release:
|
||||
- export DATE=$(date +%Y%m%d) #Cant tag same twice use $CI_COMMIT_SHA for a while
|
||||
- |
|
||||
release-cli create --name "Release $DATE" --tag-name $CI_COMMIT_SHA \
|
||||
--assets-link "{\"name\":\"${ZIP_NAME}.zip\",\"url\":\"${PACKAGE_REGISTRY_URL}/${ZIP_NAME}.zip\"}"\
|
||||
--assets-link "{\"name\":\"${ZIP_NAME}-${DATE}.zip\",\"url\":\"${PACKAGE_REGISTRY_URL}/${ZIP_NAME}${DATE}.zip\"}"
|
||||
|
||||
--assets-link "{\"name\":\"${ZIP_NAME}.zip\",\"url\":\"${PACKAGE_REGISTRY_URL}/${ZIP_NAME}.zip\"}"
|
||||
|
||||
build-docker-image:
|
||||
image: docker:19
|
||||
|
@ -25,7 +25,7 @@ RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash && \
|
||||
# unzip deemix
|
||||
|
||||
# Need look again in project num
|
||||
RUN curl -L https://gitlab.com/api/v4/projects/33610953/packages/generic//deemix-docker/deemix-docker.zip -o deemix-docker.zip && \
|
||||
RUN curl -L https://gitlab.com/api/v4/projects/33610953/packages/generic/19217373/deemix-docker/deemix-docker.zip -o deemix-docker.zip && \
|
||||
unzip deemix-docker
|
||||
|
||||
COPY root/ /
|
||||
|
Loading…
x
Reference in New Issue
Block a user