learn-forgejo-actions/.forgejo/workflows/images-per-step.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 13: cannot unmarshal !!seq into string line 19: cannot unmarshal !!seq into string
Waylon S. Walker baf9f2a49a
All checks were successful
/ test (push) Successful in 31s
does this work?
2025-08-28 12:44:11 -05:00

22 lines
640 B
YAML

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