unifios-utilities/.github/workflows/podman-udmp.yml

37 lines
998 B
YAML
Raw Normal View History

name: UDM-Pro Podman
2021-08-26 14:34:51 +00:00
on:
2021-08-26 14:36:14 +00:00
workflow_dispatch:
2021-08-26 14:34:51 +00:00
push:
paths:
- 'podman-update/build/Dockerfile'
2021-12-03 12:35:07 +00:00
pull_request:
paths:
- 'podman-update/build/Dockerfile'
2021-08-26 14:34:51 +00:00
jobs:
build:
2022-02-07 07:23:09 +00:00
runs-on: ubuntu-latest
2021-08-26 14:34:51 +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-08-26 14:34:51 +00:00
- name: Build the Docker image
run: docker build --file podman-update/build/Dockerfile --build-arg UDM_PLATFORM=UDM-Pro --tag boostchicken:udmp-podman podman-update/build/
2021-08-27 05:18:41 +00:00
- name: Docker Extract
id: extract
2022-02-06 13:11:41 +00:00
uses: boostchicken-dev/actions-docker-extract@v2
2021-08-26 14:34:51 +00:00
with:
# Docker Image to extract files from
2021-08-27 04:56:12 +00:00
image: boostchicken:udmp-podman
2021-08-26 14:34:51 +00:00
# Path (from root) to a file or directory within Image
2021-08-27 05:20:01 +00:00
path: tmp/release/podman-install.zip
2021-08-26 14:34:51 +00:00
- name: Upload Podman Install
uses: actions/upload-artifact@v2
with:
path: ${{ steps.extract.outputs.destination }}
name: podman-install.zip