Initial builds
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
- prereleased
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
collect:
|
||||
name: Collect all images
|
||||
runs-on: podman
|
||||
outputs:
|
||||
matrix: ${{ steps.generate-list.ouputs.matrix }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Generate list
|
||||
id: generate-list
|
||||
shell: bash
|
||||
run: |
|
||||
echo matrix="$(ls | jq -Rn '[inputs]')" >> "${GITHUB_OUTPUT}"
|
||||
|
||||
build:
|
||||
name: Build all images
|
||||
runs-on: podman
|
||||
needs: collect
|
||||
matrix:
|
||||
image: "${{ fromJson( needs.collect.outputs.matrix ) }}"
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Build image
|
||||
shell: bash
|
||||
run: |
|
||||
cd "${{ matrix.image }}"
|
||||
podman build --rm -t "${{ matrix.image }}" .
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
ubuntu:latest/
|
||||
@@ -0,0 +1,7 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
RUN apt update && apt -y install \
|
||||
git \
|
||||
nodejs \
|
||||
bash && \
|
||||
apt clean all
|
||||
Reference in New Issue
Block a user