55 lines
1.5 KiB
YAML
55 lines
1.5 KiB
YAML
on: [push]
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Run something in Alpine
|
|
uses: docker://alpine:3.20
|
|
with:
|
|
entrypoint: /bin/sh
|
|
args: |
|
|
-c '
|
|
echo "Hello from inside Alpine"
|
|
distro=$(cat /etc/os-release)
|
|
echo Distro: $distro
|
|
'
|
|
- name: Run something in ArchBtw
|
|
uses: docker://archlinux:base
|
|
with:
|
|
entrypoint: /bin/sh
|
|
args: |
|
|
-c '
|
|
echo "Hello from inside ArchBtw"
|
|
distro=$(cat /etc/os-release)
|
|
echo Distro: $distro
|
|
'
|
|
- name: Run something in Ubuntu
|
|
uses: docker://ubuntu:latest
|
|
with:
|
|
entrypoint: /bin/sh
|
|
args: |
|
|
-c '
|
|
echo "Hello from inside Ubuntu"
|
|
distro=$(cat /etc/os-release)
|
|
echo Distro: $distro
|
|
'
|
|
- name: Run something on Busybox
|
|
uses: docker://busybox
|
|
with:
|
|
entrypoint: /bin/sh
|
|
args: |
|
|
-c '
|
|
echo "Hello from inside Busybox"
|
|
distro=$(cat /etc/os-release)
|
|
echo Distro: $distro
|
|
'
|
|
- name: Run something on Rocky
|
|
uses: docker://rockylinux/rockylinux:latest
|
|
with:
|
|
entrypoint: /bin/sh
|
|
args: |
|
|
-c '
|
|
echo "Hello from inside Rocky"
|
|
distro=$(cat /etc/os-release)
|
|
echo Distro: $distro
|
|
'
|