Skip to content

deb packaging

deb packaging #48

Workflow file for this run

name: deb packaging
on:
push:
tags:
- 'debian/*.*.*-*'
- 'test/*'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build-native:
uses: dionysius/gbp-gha/.github/workflows/gbp-native.yml@main
with:
# https://github.com/orgs/community/discussions/26671
DEBFULLNAME: dionysius (github-actions)
DEBEMAIL: [email protected]
before_build_deps_install: |
source "$HOME/.cargo/env" || true
if ! command -v rustup > /dev/null; then
curl https://sh.rustup.rs -sSf | sh -s -- -y
source "$HOME/.cargo/env"
fi
rustup toolchain install stable
secrets:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
# build-qemu:
# uses: dionysius/gbp-gha/.github/workflows/gbp-qemu.yml@main
# with:
# # https://github.com/orgs/community/discussions/26671
# DEBFULLNAME: dionysius (github-actions)
# DEBEMAIL: [email protected]
# before_build_deps_install: |
# export HOME=/root
# source "/root/.cargo/env" || true
# if ! command -v rustup > /dev/null; then
# curl https://sh.rustup.rs -sSf | sh -s -- -y
# source "/root/.cargo/env"
# fi
# rustup toolchain install stable
# secrets:
# GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
release:
if: startsWith(github.event.ref, 'refs/tags/debian')
needs: [build-native]
uses: dionysius/gbp-gha/.github/workflows/release.yml@main
upload:
if: startsWith(github.event.ref, 'refs/tags/debian')
needs: [build-native]
uses: dionysius/gbp-gha/.github/workflows/upload-packagecloud.yml@main
with:
USERREPO: dionysius/vaultwarden
secrets:
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}