feat(oraclejdk): rename image to oraclejdk and expand OCI image-spec labels

Convention B (Docker-Hub-style <service>:<full-version>) mirrors the
just-shipped couchbase rename. Workflow images/tags/subject-name flip
from oraclejdk-8 to oraclejdk; 8 major-line alias added. Both
metadata-action labels: block and Dockerfile LABEL lines carry the same
5 OCI image-spec keys so manual and CI builds match.

License: LicenseRef-Oracle-BCL (Oracle Binary Code License covered 8u201
binaries; SPDX has no exact identifier, custom ref is the compliant
escape hatch).
This commit is contained in:
tiennm99 committed 2026-05-28 15:32:25 +07:00
1 parent 0b7ca52ce5
commit 1438546f48
3 files changed
+16 -4

No files matched your search

+10 -3
View File
@@ -40,11 +40,18 @@ jobs:
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: |
${{ secrets.DOCKER_USERNAME }}/oraclejdk-8
ghcr.io/${{ github.actor }}/oraclejdk-8
${{ secrets.DOCKER_USERNAME }}/oraclejdk
ghcr.io/${{ github.actor }}/oraclejdk
tags: |
type=raw,value=latest
type=raw,value=8
type=raw,value=8u201
labels: |
org.opencontainers.image.title=Oracle JDK 8
org.opencontainers.image.description=Legacy Oracle JDK 8u201 (archived Oracle build, no upstream OCI image)
org.opencontainers.image.version=8u201
org.opencontainers.image.source=https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html
org.opencontainers.image.licenses=LicenseRef-Oracle-BCL
- name: Build and push Docker images
id: push
@@ -58,6 +65,6 @@ jobs:
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v3
with:
subject-name: ghcr.io/${{ github.actor }}/oraclejdk-8
subject-name: ghcr.io/${{ github.actor }}/oraclejdk
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
+1 -1
View File
@@ -8,7 +8,7 @@ Custom Docker images of legacy/discontinued software — built and published to
|-------|-----|-------------|-------|
| Couchbase 2.5 | `2.5.2` | [couchbase](https://github.com/tiennm99/docker-images/pkgs/container/couchbase) | Legacy NoSQL; no official image exists |
| Gradle 8 | latest | — | JDK 8 + Corretto base |
| Oracle JDK 8 | `8u201` | — | Archived Oracle JDK build |
| Oracle JDK 8 | `8u201` | [oraclejdk](https://github.com/tiennm99/docker-images/pkgs/container/oraclejdk) | Archived Oracle JDK build |
| Scribe 2.2 | `2.2` | [scribe](https://github.com/tiennm99/docker-images/pkgs/container/scribe) | Facebook's legacy log aggregation daemon |
## Naming convention
+5
View File
@@ -1,6 +1,11 @@
FROM centos:7
LABEL maintainer="miti99 <tiennm99@outlook.com>"
LABEL org.opencontainers.image.title="Oracle JDK 8"
LABEL org.opencontainers.image.description="Legacy Oracle JDK 8u201 (archived Oracle build, no upstream OCI image)"
LABEL org.opencontainers.image.version="8u201"
LABEL org.opencontainers.image.source="https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html"
LABEL org.opencontainers.image.licenses="LicenseRef-Oracle-BCL"
ENV LANG=en_US.UTF-8
ENV JAVA_HOME=/usr/java/jdk-8