Skip to content

Commit a56fc44

Browse files
committed
fix(ci): add ghcr image description metadata
1 parent 7ac859a commit a56fc44

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373
if: steps.publish_strategy.outputs.should_publish == 'true'
7474
id: meta
7575
uses: docker/metadata-action@v5
76+
env:
77+
DOCKER_METADATA_ANNOTATIONS_LEVELS: index
7678
with:
7779
images: ghcr.io/icoretech/codex-docker
7880
labels: |
@@ -100,4 +102,5 @@ jobs:
100102
push: true
101103
tags: ${{ steps.meta.outputs.tags }}
102104
labels: ${{ steps.meta.outputs.labels }}
105+
annotations: ${{ steps.meta.outputs.annotations }}
103106
provenance: mode=max

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ RUN apk add --no-cache \
3535
&& mkdir -p /home/codex/.codex /workspace \
3636
&& chown -R codex:codex /home/codex /workspace
3737

38+
LABEL org.opencontainers.image.source="https://github.com/icoretech/codex-docker" \
39+
org.opencontainers.image.description="Multi-arch OpenAI Codex CLI Docker image built from official upstream releases"
40+
3841
COPY --from=downloader /tmp/codex /usr/local/bin/codex
3942
COPY scripts/codex-bootstrap /usr/local/bin/codex-bootstrap
4043
COPY scripts/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh

0 commit comments

Comments
 (0)