Skip to content

UDM-SE/PRO Podman

UDM-SE/PRO Podman #46

name: UDM-SE/PRO Podman
on:
workflow_dispatch:
push:
branches:
- 'main'
paths:
- 'podman-update/build/Dockerfile'
- 'podman-update/build/podman.Makefile.UDM-Pro-SE.patch'
- 'podman-update/build/*.conf'
- 'podman-update/build/*.json'
pull_request_target:
types:
- opened
paths:
- 'podman-update/build/Dockerfile'
- 'podman-update/build/podman.Makefile.UDM-Pro-SE.patch'
- 'podman-update/build/*.conf'
- 'podman-update/build/*.json'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Docker Setup QEMU
uses: docker/[email protected]
with:
platforms: arm64
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Build the Docker image
run: DOCKER_BUILDKIT=1 docker build --file podman-update/build/Dockerfile --build-arg UDM_PLATFORM=UDM-Pro-SE --tag boostchicken:udm-podman podman-update/build/
- name: Docker Extract
id: extract
uses: boostchicken-dev/actions-docker-extract@v3
with:
# Docker Image to extract files from
image: boostchicken:udm-podman
# Path (from root) to a file or directory within Image
path: /tmp/install/.
- name: Generate new tag version
id: version
uses: flynshue/[email protected]
- name: Upload Podman Install
uses: actions/upload-artifact@v4
with:
path: ${{ steps.extract.outputs.destination }}
name: podman-udmse-udmpro-${{ steps.version.outputs.version }}
retention-days: 90