Skip to content

Commit

Permalink
add dependabot config, add github container push
Browse files Browse the repository at this point in the history
  • Loading branch information
alcohol committed Oct 26, 2023
1 parent 15a0e97 commit eb89917
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2
updates:

# github actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
assignees:
- "alcohol"

# npm dependencies
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
assignees:
- "alcohol"

# composer dependencies
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "weekly"
assignees:
- "alcohol"
10 changes: 9 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,19 @@ jobs:
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- run: docker build --pull --no-cache --tag composer/satis .
- run: docker build --pull --no-cache --tag composer/satis --tag ghcr.io/composer/satis .
- if: github.ref == 'refs/heads/main'
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- if: github.ref == 'refs/heads/main'
run: docker push composer/satis
- if: github.ref == 'refs/heads/main'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- if: github.ref == 'refs/heads/main'
run: docker push ghcr.io/composer/satis

0 comments on commit eb89917

Please sign in to comment.