Skip to content

Commit

Permalink
Fixes for SapMachine container builds:
Browse files Browse the repository at this point in the history
Add nightly cron trigger
Add SapMachine 23
Clean up comments and naming
  • Loading branch information
RealCLanger committed Oct 23, 2024
1 parent 14cf33b commit 7e53b2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish-container-images.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish SapMachine container images based on Garden Linux to the SAP GitHub Registry
name: build & publish SapMachine Garden Linux container image

on:
workflow_call:
Expand All @@ -12,15 +12,12 @@ on:
jobs:
publish_container:
name: publish gardenlinux container base image
# runs-on: ubuntu-latest
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
# 1. Checkout the repository
- uses: actions/checkout@v4
# 2. Run the Python script to fetch and append download stats
- name: Publish images
run: |
SM_FLAVOURS=(jdk jdk-headless jre jre-headless)
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish-gardenlinux-images.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: publish gardenlinux containers to github.com
name: Build and Publish SapMachine container images to the SAP GitHub Container Registry
on:
schedule:
- cron: '0 1 * * *' # Runs every day at 1:00 AM (UTC)
workflow_dispatch:

jobs:
publish_images:
strategy:
matrix:
sapMachineVersion: [17, 21]
sapMachineVersion: [17, 21, 23]
gardenLinuxVersion: [1592]
uses: ./.github/workflows/publish-container-images.yaml
with:
Expand Down

0 comments on commit 7e53b2a

Please sign in to comment.