plugin-barman-cloud/.github/workflows/release-publish.yml
Tao Li 5656ddb266
ci: refactor workflow file and remove makefile
Signed-off-by: Tao Li <tao.li@enterprisedb.com>
2026-08-31 20:00:08 +08:00

39 lines
1.1 KiB
YAML

name: Release Publish Artifacts
on:
release:
types: [published]
permissions: read-all
jobs:
release-publish-artifacts:
runs-on: ${{ vars.CI_RUNNERS || 'ubuntu-latest' }}
permissions:
packages: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v7.0.1
- name: Install QEMU static binaries
uses: docker/setup-qemu-action@v4
- name: Install Task
uses: arduino/setup-task@v3.0.0
- name: Install Dagger
env:
# renovate: datasource=github-tags depName=dagger/dagger versioning=semver
DAGGER_VERSION: 0.21.9
run: |
curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin sh
- name: Create image and manifest
env:
REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: |
task core:publish
task core:manifest
- name: Attach manifest to release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
task core:upload-manifest-to-release