ci, wip: earthly integration
ci/woodpecker/push/woodpecker Pipeline was successful Details

Tomáš Mládek 2023-08-21 16:13:03 +02:00
parent 39db638cbd
commit be180ed59b
1 changed files with 44 additions and 0 deletions

44
.woodpecker.yml Normal file
View File

@ -0,0 +1,44 @@
pipeline:
earthly:
image: earthly/earthly:v0.7.15
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- FORCE_COLOR=1
- EARTHLY_EXEC_CMD="/bin/sh"
secrets: [REGISTRY, REGISTRY_USER, REGISTRY_PASSWORD]
commands:
- earthly bootstrap
- earthly +appimage
package:push:
image: woodpeckerci/plugin-s3
settings:
endpoint:
from_secret: S3_ENDPOINT
access_key:
from_secret: S3_ACCESS_KEY
secret_key:
from_secret: S3_SECRET_KEY
bucket: upend-ci-packages
path_style: true
region: anabasis
source: "dist/*.AppImage"
target: /packages
secrets: [S3_ENDPOINT, S3_ACCESS_KEY, S3_SECRET_KEY]
publish:release:
image: woodpeckerci/plugin-gitea-release
settings:
base_url: https://git.thm.place
files:
- "*.AppImage"
- "*.asc"
- webext/web-ext-artifacts/*.zip
checksum: sha512
api_key:
from_secret: woodpecker_api_key
target: main
when:
event: [tag]