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: args: -lc ' distro=$(. /etc/os-release && echo $PRETTY_NAME) echo "Hello from inside $distro" ' - name: Run something in ArchBtw uses: docker://archlinux:base with: args: -lc ' distro=$(. /etc/os-release && echo $PRETTY_NAME) echo "Hello from inside $distro" ' - run: echo "Back on the host runner again"