unifios-utilities/.github/workflows/podman-udm.yml
2023-03-07 06:43:25 -08:00

42 lines
1.1 KiB
YAML

name: UDM Podman
on:
workflow_dispatch:
push:
paths:
- 'podman-update/build/Dockerfile'
pull_request:
paths:
- 'podman-update/build/Dockerfile'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker Setup QEMU
uses: docker/setup-qemu-action@v2
- 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/
- name: Generate new tag version
id: version
uses: flynshue/version-action@0.0.1
- name: Upload Podman Install
uses: actions/upload-artifact@v2
with:
path: ${{ steps.extract.outputs.destination }}
name: podman-udm-${{ steps.version.outputs.version }}.zip