Skip to content

Commit

Permalink
Added dependabot and GitHub Actions configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Apr 17, 2024
1 parent 413519a commit 10b67e3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: main

on:
push: # All branches and tags
schedule:
# Runs automatically on the 27th of every month at 04:30 UTC
- cron: "30 04 27 * *"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
job:
uses: dmotte/misc/.github/workflows/cicd-with-script.yml@main
with:
script: >
DOCKERHUB_USERNAME=dmotte
IMG_AUTHOR=dmotte IMG_NAME=portmap-server-rootless
IMG_DESCRIPTION="${{ github.event.repository.description }}"
IMG_FULL_DESCRIPTION_FILE=dockerhub-description.md
IMG_PLATFORMS=linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
bash "$(realpath "$GITHUB_ACTION_PATH/../../scripts/cicd/docker-img.sh")"
secrets:
secret01: ${{ secrets.DOCKERHUB_PASSWORD }}

0 comments on commit 10b67e3

Please sign in to comment.