Workflows changes

- Simple Docker build for PRs
- Only run buildx for latest tag on pushes to master branch
This commit is contained in:
Quentin McGaw
2020-03-26 20:17:10 -04:00
parent d0c61662b5
commit d534f92432
2 changed files with 12 additions and 15 deletions

12
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
name: Docker build
on:
pull_request:
branches: [master]
jobs:
security-analysis:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build image
run: docker build .

View File

@@ -1,20 +1,5 @@
name: Buildx latest
on:
pull_request:
branches: [master]
paths-ignore:
- .github/workflows/buildx-release.yml
- .github/workflows/dockerhub-description.yml
- .github/workflows/greetings.yml
- .github/workflows/labels.yml
- .github/workflows/misspell.yml
- .github/workflows/security.yml
- .dockerignore
- .gitignore
- docker-compose.yml
- LICENSE
- README.md
- title.svg
push:
branches: [master]
paths-ignore: