Update podman-udm.yml

This commit is contained in:
John Dorman 2023-03-07 06:43:25 -08:00 committed by GitHub
parent df61bcf0a6
commit 49b7d3068f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@ on:
pull_request: pull_request:
paths: paths:
- 'podman-update/build/Dockerfile' - 'podman-update/build/Dockerfile'
jobs: jobs:
build: build:
@ -19,18 +20,22 @@ jobs:
- name: Docker Setup QEMU - name: Docker Setup QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- name: Build the Docker image - 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/ run: docker build --file podman-update/build/Dockerfile --build-arg UDM_PLATFORM=UDM-Pro--tag boostchicken:udm-podman podman-update/build/
- name: Docker Extract - name: Docker Extract
id: extract id: extract
uses: boostchicken-dev/actions-docker-extract@v2 uses: boostchicken-dev/actions-docker-extract@v2
with: with:
# Docker Image to extract files from # Docker Image to extract files from
image: boostchicken:udmp-podman image: boostchicken:udm-podman
# Path (from root) to a file or directory within Image # Path (from root) to a file or directory within Image
path: tmp/release/podman-install.zip path: /tmp/release/
- name: Generate new tag version
id: version
uses: flynshue/version-action@0.0.1
- name: Upload Podman Install - name: Upload Podman Install
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
path: ${{ steps.extract.outputs.destination }} path: ${{ steps.extract.outputs.destination }}
name: podman-install.zip name: podman-udm-${{ steps.version.outputs.version }}.zip