mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-09 11:46:49 +00:00
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
name: Build packaging Docker images
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
paths:
|
|
- ".github/workflows/build-packaging-images.yml"
|
|
- "package/Dockerfile"
|
|
- "package/install-packaging-tools.sh"
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/build-packaging-images.yml"
|
|
- "package/Dockerfile"
|
|
- "package/install-packaging-tools.sh"
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
# Read `on-trigger.yml` for the rationale behind this concurrency group name.
|
|
group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' && github.sha || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
build-merge:
|
|
name: Build and push packaging-${{ matrix.distro.name }}
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
distro:
|
|
- name: debian
|
|
base_image: debian:bookworm
|
|
- name: rhel
|
|
base_image: registry.access.redhat.com/ubi9/ubi:latest
|
|
uses: XRPLF/actions/.github/workflows/build-multiarch-image.yml@c1b480188519e0cad040e6aa70db1cbc5a797e07
|
|
with:
|
|
image_name: ghcr.io/xrplf/xrpld/packaging-${{ matrix.distro.name }}
|
|
dockerfile: package/Dockerfile
|
|
base_image: ${{ matrix.distro.base_image }}
|
|
push: ${{ github.repository == 'XRPLF/rippled' && github.event_name == 'push' }}
|