Skip to content

Commit

Permalink
Merge pull request #5 from devwithkrishna/feature/jdk17-jdk21-build
Browse files Browse the repository at this point in the history
Feature/jdk17 jdk21 build
  • Loading branch information
githubofkrishnadhas authored Jul 15, 2024
2 parents 053d386 + 6ce6b6c commit 8125d89
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-publish-jenkins-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-publish-jenkins-jdk17-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-publish-jenkins-jdk21-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 8125d89

Please sign in to comment.