It's in the builder now [CI SKIP]
parent
3f77c49c01
commit
d2af65cbce
|
@ -40,9 +40,6 @@ pipeline:
|
|||
image: 'alpine:latest'
|
||||
secrets: [ s3_username, s3_password ]
|
||||
commands:
|
||||
# We should just add this to the builder image instead
|
||||
- apk add curl openssl
|
||||
|
||||
# https://gist.github.com/JustinTimperio/7c7115f87b775618637d67ac911e595f
|
||||
- export URL=s3.rustybever.be
|
||||
- export OBJ_PATH="/vieter/commits/$CI_COMMIT_SHA/vieter-$(echo '${PLATFORM}' | sed 's:/:-:g')"
|
||||
|
|
|
@ -16,10 +16,8 @@ pipeline:
|
|||
# Write the title to a file that the plugin can then read
|
||||
- echo "$(git describe --tags --abbrev=0 2> /dev/null || echo '0.0.0')-$(git rev-list --count ^dev)" > title
|
||||
- cat title
|
||||
- wget https://dl.min.io/client/mc/release/linux-amd64/mc
|
||||
- chmod +x mc
|
||||
- ./mc alias set s3/ https://s3.rustybever.be "$S3_USERNAME" "$S3_PASSWORD"
|
||||
- ./mc cp -r "s3/vieter/commits/$CI_COMMIT_SHA" assets
|
||||
- mc alias set s3/ https://s3.rustybever.be "$S3_USERNAME" "$S3_PASSWORD"
|
||||
- mc cp -r "s3/vieter/commits/$CI_COMMIT_SHA" assets
|
||||
|
||||
release:
|
||||
image: 'plugins/gitea-release'
|
||||
|
|
Loading…
Reference in New Issue