Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
path: build/libs/*.jar

- uses: docker/login-action@v4
if: github.event_name == 'push'
if: github.event_name == 'push' && github.actor != 'dependabot[bot]'
with:
registry: ghcr.io/raeperd
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get branch name
if: github.event_name == 'push'
if: github.event_name == 'push' && github.actor != 'dependabot[bot]'
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | tr /# -)" >> $GITHUB_ENV
- name: Build container image
if: github.event_name == 'push'
run: ./gradlew jib -Djib.to.tags=${{ env.BRANCH_NAME }}
if: github.event_name == 'push' && github.actor != 'dependabot[bot]'
run: ./gradlew jib -Djib.to.tags=${{ env.BRANCH_NAME }}