From 9b38426155c4bdcaf33390d4a68c4875f56034a6 Mon Sep 17 00:00:00 2001 From: githubofkrishnadhas Date: Mon, 15 Jul 2024 15:30:19 +0530 Subject: [PATCH 1/2] jdk 17 and 21 image build time adjusted --- .github/workflows/build-publish-jenkins-image.yaml | 2 +- .github/workflows/build-publish-jenkins-jdk17-image.yaml | 2 +- .github/workflows/build-publish-jenkins-jdk21-image.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-publish-jenkins-image.yaml b/.github/workflows/build-publish-jenkins-image.yaml index 0ece0c0..68dab50 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 diff --git a/.github/workflows/build-publish-jenkins-jdk17-image.yaml b/.github/workflows/build-publish-jenkins-jdk17-image.yaml index e16ee62..51798e1 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 diff --git a/.github/workflows/build-publish-jenkins-jdk21-image.yaml b/.github/workflows/build-publish-jenkins-jdk21-image.yaml index 98fa294..d0a3ada 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 From 6ce6b6cf59f785a5060ab520e3e20c987a4e962a Mon Sep 17 00:00:00 2001 From: githubofkrishnadhas Date: Mon, 15 Jul 2024 17:09:25 +0530 Subject: [PATCH 2/2] DEVOPS-258 jdk-17 and jdk 21 images --- .github/workflows/build-publish-jenkins-image.yaml | 1 + .github/workflows/build-publish-jenkins-jdk17-image.yaml | 1 + .github/workflows/build-publish-jenkins-jdk21-image.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/build-publish-jenkins-image.yaml b/.github/workflows/build-publish-jenkins-image.yaml index 68dab50..117f5f1 100644 --- a/.github/workflows/build-publish-jenkins-image.yaml +++ b/.github/workflows/build-publish-jenkins-image.yaml @@ -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 51798e1..358783b 100644 --- a/.github/workflows/build-publish-jenkins-jdk17-image.yaml +++ b/.github/workflows/build-publish-jenkins-jdk17-image.yaml @@ -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 d0a3ada..7635fa1 100644 --- a/.github/workflows/build-publish-jenkins-jdk21-image.yaml +++ b/.github/workflows/build-publish-jenkins-jdk21-image.yaml @@ -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 }}