parent
b69b7c3cf6
commit
dc98b622d9
1 changed files with 30 additions and 0 deletions
|
|
@ -23,3 +23,33 @@ jobs:
|
|||
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:latest
|
||||
with:
|
||||
entrypoint: /bin/sh
|
||||
args: |
|
||||
-c '
|
||||
echo "Hello from inside Rocky"
|
||||
distro=$(cat /etc/os-release)
|
||||
echo Distro: $distro
|
||||
'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue