18 lines
378 B
YAML
18 lines
378 B
YAML
on: [push]
|
|
jobs:
|
|
test-docker:
|
|
runs-on: docker
|
|
steps:
|
|
- run: echo Docker works!
|
|
test-dind:
|
|
runs-on: dind
|
|
steps:
|
|
- run: docker run hello-world
|
|
-
|
|
name: test
|
|
if: contains(github.ref_name, 'a')
|
|
run: echo works
|
|
-
|
|
name: test inverse
|
|
if: ! contains(github.ref_name, 'a')
|
|
run: echo works as well |