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

32 lines
802 B
YAML
Raw Normal View History

2021-08-26 14:34:51 +00:00
name: UDMP Podman
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'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
2021-08-26 14:40:03 +00:00
run: docker build --file podman-update/build/Dockerfile --tag boostchicken:udmp-podman-$(date +%s) podman-update/build/
2021-08-26 14:34:51 +00:00
- 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