Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bromine0x23 committed Nov 17, 2023
1 parent 580c396 commit 6482c5a
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
image-build-args: |
BASE_IMAGE=fedora:${{ matrix.fedora-version }}
IS_SLIM=${{ matrix.is-slim && 'slim' || '' }}
image-build-platforms: linux/amd64
image-name: >-
bromine0x23/fedora
ghcr.io/bromine0x23/fedora
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:
image-build-platforms:
required: false
type: string
default: linux/amd64,linux/arm64/v8
default: linux/amd64,linux/arm64
image-name:
required: true
type: string
Expand Down
32 changes: 28 additions & 4 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,48 @@ on:
- cron: '0 8 3 * *'

jobs:
wait-oraclelinux:
name: 等待上游镜像完成
runs-on: ubuntu-latest
steps:
- name: Wait to succeed
uses: lewagon/[email protected]
with:
ref: ${{ github.ref }}
check-name: OracleLinux
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 30
wait-debian:
name: 等待上游镜像完成
runs-on: ubuntu-latest
steps:
- name: Wait to succeed
uses: lewagon/[email protected]
with:
ref: ${{ github.ref }}
check-name: Debian
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 30

java:
uses: ./.github/workflows/image-build.yml
name: Java
needs: [wait-oraclelinux, wait-debian]
strategy:
matrix:
version: [21]
variant: [jdk, jre]
os: [debian, fedora]
os: [oraclelinux, debian]
include:
- distribution: temurin
version-latest: 21
version-lts: 21
variant-default: jdk
os-default: fedora
os-default: oraclelinux
- os: debian
os-version: 12
- os: fedora
os-version: 38
- os: oraclelinux
os-version: 8
with:
image-label-title: Java
image-label-description: Java 工具镜像 (基于 Temurin)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=bromine0x23/fedora
ARG BASE_IMAGE=bromine0x23/oraclelinux

# hadolint ignore=DL3006
FROM $BASE_IMAGE
Expand Down

0 comments on commit 6482c5a

Please sign in to comment.