learn-forgejo-actions/.forgejo/workflows/images-per-step.yaml
Waylon S. Walker 508d5b2e89
All checks were successful
/ test (push) Successful in 18s
qualify it
2025-08-28 14:42:10 -05:00

55 lines
1.5 KiB
YAML

on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Run something in Alpine
uses: docker://alpine:3.20
with:
entrypoint: /bin/sh
args: |
-c '
echo "Hello from inside Alpine"
distro=$(cat /etc/os-release)
echo Distro: $distro
'
- name: Run something in ArchBtw
uses: docker://archlinux:base
with:
entrypoint: /bin/sh
args: |
-c '
echo "Hello from inside ArchBtw"
distro=$(cat /etc/os-release)
echo Distro: $distro
'
- name: Run something in Ubuntu
uses: docker://ubuntu:latest
with:
entrypoint: /bin/sh
args: |
-c '
echo "Hello from inside Ubuntu"
distro=$(cat /etc/os-release)
echo Distro: $distro
'
- name: Run something on Busybox
uses: docker://busybox
with:
entrypoint: /bin/sh
args: |
-c '
echo "Hello from inside Busybox"
distro=$(cat /etc/os-release)
echo Distro: $distro
'
- name: Run something on Rocky
uses: docker://rockylinux/rockylinux:latest
with:
entrypoint: /bin/sh
args: |
-c '
echo "Hello from inside Rocky"
distro=$(cat /etc/os-release)
echo Distro: $distro
'