mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-21 07:46:04 +08:00
Merge pull request #335 from gaby/dependabot-support
Support for dependabot
This commit is contained in:
commit
a892595f78
10
.github/dependabot.yml
vendored
Normal file
10
.github/dependabot.yml
vendored
Normal 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"
|
5
.github/workflows/publish-docker.yml
vendored
5
.github/workflows/publish-docker.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue