zip docker image for package
This commit is contained in:
parent
46ebf06603
commit
a200bcad97
1 changed files with 3 additions and 2 deletions
|
@ -89,17 +89,18 @@ pcb_outputs:
|
||||||
|
|
||||||
upload_package:
|
upload_package:
|
||||||
stage: upload_package
|
stage: upload_package
|
||||||
image: bash:latest
|
image: alpine:latest
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||||
extends:
|
extends:
|
||||||
- .pcb-rules
|
- .pcb-rules
|
||||||
- .default-artifacts
|
- .default-artifacts
|
||||||
script:
|
script:
|
||||||
|
- apk --no-cache add zip
|
||||||
- pwd
|
- pwd
|
||||||
- ls -la ${CI_PROJECT_DIR}
|
- ls -la ${CI_PROJECT_DIR}
|
||||||
- ls -la
|
- ls -la
|
||||||
- tar -czvf "${ARCHIVE_NAME}.zip" Fabrication
|
- zip -r "${ARCHIVE_NAME}.zip" Fabrication
|
||||||
- |
|
- |
|
||||||
apk add curl
|
apk add curl
|
||||||
echo "${PACKAGE_REGISTRY_URL}/${ARCHIVE_NAME}.zip"
|
echo "${PACKAGE_REGISTRY_URL}/${ARCHIVE_NAME}.zip"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue