diff --git a/.github/workflows/build-publish-jenkins-image.yaml b/.github/workflows/build-publish-jenkins-image.yaml index 0ece0c0..117f5f1 100644 --- a/.github/workflows/build-publish-jenkins-image.yaml +++ b/.github/workflows/build-publish-jenkins-image.yaml @@ -5,7 +5,7 @@ on: # - main workflow_dispatch: schedule: - - cron: '0 0 5,20 * *' + - cron: '0 10 5,20 * *' # morning 10 am on 5th and 20th of every month permissions: contents: write @@ -46,6 +46,7 @@ jobs: uses: docker/build-push-action@v5 with: push: true + file: jdk-11/Dockerfile platforms: linux/amd64,linux/arm64 tags: | ${{ secrets.DOCKERHUB_USERNAME }}/jenkins-core-image:${{ env.NEW_VERSION }} diff --git a/.github/workflows/build-publish-jenkins-jdk17-image.yaml b/.github/workflows/build-publish-jenkins-jdk17-image.yaml index e16ee62..358783b 100644 --- a/.github/workflows/build-publish-jenkins-jdk17-image.yaml +++ b/.github/workflows/build-publish-jenkins-jdk17-image.yaml @@ -5,7 +5,7 @@ on: # - main workflow_dispatch: schedule: - - cron: '0 0 5,20 * *' + - cron: '30 10 5,20 * *' # morning 10:30 am on 5th and 20th of every month permissions: contents: write @@ -45,6 +45,7 @@ jobs: # NEW_VERSION: $NEW_VERSION uses: docker/build-push-action@v5 with: + file: jdk-17/Dockerfile push: true platforms: linux/amd64,linux/arm64 tags: | diff --git a/.github/workflows/build-publish-jenkins-jdk21-image.yaml b/.github/workflows/build-publish-jenkins-jdk21-image.yaml index 98fa294..7635fa1 100644 --- a/.github/workflows/build-publish-jenkins-jdk21-image.yaml +++ b/.github/workflows/build-publish-jenkins-jdk21-image.yaml @@ -5,7 +5,7 @@ on: # - main workflow_dispatch: schedule: - - cron: '0 0 5,20 * *' + - cron: '0 11 5,20 * *' # morning 11 am on 5th and 20th of every month permissions: contents: write @@ -46,6 +46,7 @@ jobs: uses: docker/build-push-action@v5 with: push: true + file: jdk-21/Dockerfile platforms: linux/amd64,linux/arm64 tags: | ${{ secrets.DOCKERHUB_USERNAME }}/jenkins-core-jdk21-image:${{ env.NEW_VERSION }}