2023-11-16 15:52:49 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
test-docker:
|
|
|
|
runs-on: docker
|
|
|
|
steps:
|
2023-11-16 15:56:16 +00:00
|
|
|
- run: echo Docker works!
|
2023-11-16 16:29:22 +00:00
|
|
|
test-dind:
|
|
|
|
runs-on: dind
|
2023-11-16 15:52:49 +00:00
|
|
|
steps:
|
2023-12-29 02:23:09 +00:00
|
|
|
- run: docker run hello-world
|
|
|
|
-
|
|
|
|
name: test
|
2023-12-29 02:24:26 +00:00
|
|
|
if: contains(github.ref_name, 'a')
|
2023-12-29 02:23:09 +00:00
|
|
|
run: echo works
|
|
|
|
-
|
|
|
|
name: test inverse
|
2023-12-29 02:24:26 +00:00
|
|
|
if: ! contains(github.ref_name, 'a')
|
2023-12-29 02:23:09 +00:00
|
|
|
run: echo works as well
|