diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 00000000..41ffe7ea --- /dev/null +++ b/.github/dependabot.yaml @@ -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" diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index fe7c2815..5179bc29 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -9,7 +9,7 @@ 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: @@ -17,3 +17,11 @@ jobs: 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