goshorly/.woodpecker/2-build-latest.yml

42 lines
933 B
YAML
Raw Normal View History

steps:
- name: Prepare Repo (amd64,test)
image: alpine/git
commands:
- git submodule update --init --recursive
- name: Compile gmqcc (amd64,test)
image: alpine
commands:
- chmod +x ci-dependencies.sh
- ./ci-dependencies.sh
- cd gmqcc
- make
- cd ..
- name: Compile SpecialSauce (amd64,test)
image: alpine
commands:
- chmod +x ci-dependencies.sh
- chmod +x build.sh
- ./ci-dependencies.sh
- bash build.sh
- name: Release_binary s3 (prod)
image: ocram85/plugin-gitea-package:latest
settings:
user:
from_secret: reg-user
password:
from_secret: reg-pass
debug: "true"
owner: "amogus.tv"
package_name: "amogusspecialsauce-latest"
package_version: "0.1.0"
file_source: "./compiled-${DRONE_COMMIT_SHA:0:10}.zip"
file_name: "compiled.zip
update: "true"
when:
- event: [push, tag, cron]
branch:
- ${CI_REPO_DEFAULT_BRANCH}