mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 21:23:12 +01:00
Use docker/setup-qemu-action to fix intermittent segmentation fault when building for arm64. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Signed-off-by: Marco Nenciarini <mnencia@kcore.it>
34 lines
991 B
YAML
34 lines
991 B
YAML
name: Release Publish Artifacts
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
release-publish-artifacts:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Install QEMU static binaries
|
|
uses: docker/setup-qemu-action@v3
|
|
- name: Install Task
|
|
uses: arduino/setup-task@v2
|
|
- name: Install Dagger
|
|
env:
|
|
# renovate: datasource=github-tags depName=dagger/dagger versioning=semver
|
|
DAGGER_VERSION: 0.18.5
|
|
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 publish
|
|
task manifest
|
|
- name: Attach manifest to release
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
task upload-manifest-to-release
|