Merge pull request #335 from gaby/dependabot-support

Support for dependabot
This commit is contained in:
dcarns 2021-10-08 10:34:36 -04:00 committed by GitHub
commit a892595f78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions

10
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,10 @@
# Basic dependabot.yml file with minimum configuration for gomod.
version: 2
updates:
# Enable version updates for go
- package-ecosystem: "gomod"
directory: "/"
# Check for updates every day (weekdays)
schedule:
interval: "daily"

View file

@ -31,7 +31,8 @@ jobs:
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
- if: github.event_name != 'pull_request'
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
@ -41,5 +42,5 @@ jobs:
with:
context: .
platforms: linux/amd64, linux/arm64
push: true
push: ${{ github.event_name != 'pull_request' }}
tags: gravitl/netmaker:${{ env.TAG }}