22 lines
640 B
YAML
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"
|