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:
|
||||
stage: upload_package
|
||||
image: bash:latest
|
||||
image: alpine:latest
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||
extends:
|
||||
- .pcb-rules
|
||||
- .default-artifacts
|
||||
script:
|
||||
- apk --no-cache add zip
|
||||
- pwd
|
||||
- ls -la ${CI_PROJECT_DIR}
|
||||
- ls -la
|
||||
- tar -czvf "${ARCHIVE_NAME}.zip" Fabrication
|
||||
- zip -r "${ARCHIVE_NAME}.zip" Fabrication
|
||||
- |
|
||||
apk add curl
|
||||
echo "${PACKAGE_REGISTRY_URL}/${ARCHIVE_NAME}.zip"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue