Workflows changes
- Simple Docker build for PRs - Only run buildx for latest tag on pushes to master branch
This commit is contained in:
12
.github/workflows/build.yml
vendored
Normal file
12
.github/workflows/build.yml
vendored
Normal 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 .
|
||||||
15
.github/workflows/buildx-latest.yml
vendored
15
.github/workflows/buildx-latest.yml
vendored
@@ -1,20 +1,5 @@
|
|||||||
name: Buildx latest
|
name: Buildx latest
|
||||||
on:
|
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:
|
push:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
|
|||||||
Reference in New Issue
Block a user