Merge CI and docker workflows
This commit is contained in:
parent
2d7dea438f
commit
73c1e142b6
|
@ -3,10 +3,19 @@ name: CI
|
|||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Build image
|
||||
run: docker build . --tag ${GITHUB_REPOSITORY,,}
|
||||
|
||||
- name: Show image info
|
||||
run: docker images
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
name: Docker
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Build image
|
||||
run: docker build .
|
||||
|
||||
- name: Show image info
|
||||
run: docker images
|
Reference in New Issue