learn-forgejo-actions/.forgejo/workflows/images-per-step.yaml
Waylon S. Walker 69596e1794
All checks were successful
/ test (push) Successful in 16s
images per step
2025-08-28 10:29:01 -05:00

19 lines
650 B
YAML

on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: 'distro=$(. /etc/os-release && echo $PRETTY_NAME) echo "Hello from inside $distro"'
- name: Run something in Alpine
uses: docker://alpine:3.20
with:
args: |
export distro=$(. /etc/os-release && echo $PRETTY_NAME)
echo "Hello from inside $distro"
- name: Run something in ArchBtw
uses: docker://archlinux:base
with:
args: |
export distro=$(. /etc/os-release && echo $PRETTY_NAME)
echo "Hello from inside $distro"
- run: echo "Back on the host runner again"