diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..84c87d6 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/build-test-and-publish.yml b/.github/workflows/build-test-and-publish.yml index 27d253b..d8fc2a2 100644 --- a/.github/workflows/build-test-and-publish.yml +++ b/.github/workflows/build-test-and-publish.yml @@ -1,5 +1,8 @@ name: Build, test, and publish on: + pull_request: + branches: + - main workflow_dispatch: inputs: distribution: @@ -66,8 +69,8 @@ jobs: env: DISTRO: ${{ matrix.DISTRO }} PLATFORM: ${{ matrix.PLATFORM }} - VERSION: ${{ github.event.inputs.version || '' }} - SNAPSHOT: ${{ github.event.inputs.snapshot || '' }} + VERSION: ${{ github.event.inputs.version || '1.0.0-beta-4' }} + SNAPSHOT: ${{ github.event.inputs.snapshot || 'false' }} IMAGE_REPO_OPERATON: ${{ vars.IMAGE_REPO_OPERATON }} IMAGE_REPO_TOMCAT: ${{ vars.IMAGE_REPO_TOMCAT }} - name: Test @@ -76,11 +79,12 @@ jobs: env: DISTRO: ${{ matrix.DISTRO }} PLATFORM: ${{ matrix.PLATFORM }} - VERSION: ${{ github.event.inputs.version || '' }} - SNAPSHOT: ${{ github.event.inputs.snapshot || '' }} + VERSION: ${{ github.event.inputs.version || '1.0.0-beta-4' }} + SNAPSHOT: ${{ github.event.inputs.snapshot || 'false' }} IMAGE_REPO_OPERATON: ${{ vars.IMAGE_REPO_OPERATON }} IMAGE_REPO_TOMCAT: ${{ vars.IMAGE_REPO_TOMCAT }} publish: + if: github.event_name == 'workflow_dispatch' runs-on: ubuntu-24.04 needs: build-and-test strategy: