mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
37 lines
1007 B
YAML
37 lines
1007 B
YAML
name: UDM-SE Podman
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- 'podman-update/build/Dockerfile.Se'
|
|
pull_request:
|
|
paths:
|
|
- 'podman-update/build/Dockerfile.Se'
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Docker Setup QEMU
|
|
uses: docker/setup-qemu-action@v1.2.0
|
|
- name: Build the Docker image
|
|
run: docker build --file podman-update/build/Dockerfile --build-arg UDM_PLATFORM=UDM-Pro --tag boostchicken:udm-podman podman-update/build/
|
|
- name: Docker Extract
|
|
id: extract
|
|
uses: boostchicken-dev/actions-docker-extract@v2
|
|
with:
|
|
# Docker Image to extract files from
|
|
image: boostchicken:udm-podman
|
|
# Path (from root) to a file or directory within Image
|
|
path: tmp/release/podman-install.zip
|
|
- name: Upload Podman Install
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
path: ${{ steps.extract.outputs.destination }}
|
|
name: udmse-podman-install.zip
|