2022-02-24 08:28:09 +00:00
|
|
|
name: UDM-SE Podman
|
2021-12-03 12:23:30 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- 'podman-update/build/Dockerfile.Se'
|
2021-12-03 12:25:45 +00:00
|
|
|
pull_request:
|
2021-12-03 12:23:30 +00:00
|
|
|
paths:
|
|
|
|
- 'podman-update/build/Dockerfile.Se'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
2022-02-07 07:23:27 +00:00
|
|
|
runs-on: ubuntu-latest
|
2021-12-03 12:23:30 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-03-13 07:57:01 +00:00
|
|
|
- name: Docker Setup QEMU
|
|
|
|
uses: docker/setup-qemu-action@v1.2.0
|
2021-12-03 12:23:30 +00:00
|
|
|
- name: Build the Docker image
|
2022-02-24 08:28:09 +00:00
|
|
|
run: docker build --file podman-update/build/Dockerfile --build-arg UDM_PLATFORM=UDM-Pro --tag boostchicken:udm-podman podman-update/build/
|
2021-12-03 12:23:30 +00:00
|
|
|
- name: Docker Extract
|
|
|
|
id: extract
|
2022-02-06 13:13:04 +00:00
|
|
|
uses: boostchicken-dev/actions-docker-extract@v2
|
2021-12-03 12:23:30 +00:00
|
|
|
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
|