diff --git a/.forgejo/workflows/images-per-step.yaml b/.forgejo/workflows/images-per-step.yaml new file mode 100644 index 0000000..5a14456 --- /dev/null +++ b/.forgejo/workflows/images-per-step.yaml @@ -0,0 +1,19 @@ +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"