unifios-utilities/.github/workflows/podman-udmp.yml
2021-08-26 07:40:03 -07:00

32 lines
802 B
YAML

name: UDMP Podman
on:
workflow_dispatch:
push:
paths:
- 'podman-update/build/Dockerfile'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build --file podman-update/build/Dockerfile --tag boostchicken:udmp-podman-$(date +%s) podman-update/build/
- name: Docker Extract
uses: shrink/actions-docker-extract@v1
with:
# Docker Image to extract files from
image: boostchicken:udmp-podman-$(date +%s)
# Path (from root) to a file or directory within Image
path: /tmp/release/.
- name: Upload Podman Install
uses: actions/upload-artifact@v2
with:
path: ${{ steps.extract.outputs.destination }}
name: podman-install.zip