Skip to content

Commit

Permalink
ci(workflows): disable trigger of workflows for dependabot alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentinTh committed Jun 16, 2021
1 parent be79a5e commit c4517a2
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: build

on: push
on:
push:
branches:
- master

jobs:
build:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/check-deps-security.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: snyk

on: push
on:
push:
branches:
- master

jobs:
check-deps-security:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: docker

on:
push:
branches:
- master

jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Rename .env.example
run: mv .env.example .env

- name: Docker build
id: docker_build
uses: docker/build-push-action@v2
with:
context: .

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit c4517a2

Please sign in to comment.