ci(docker): simplify publish to match working repo pattern

Revert the over-engineered linking attempts (provenance: false,
index annotations, dispatch tag input, Dockerfile source LABEL). Our
working repos (e.g. offendingcommit/infra) link GHCR packages with the
plain metadata-action labels + GITHUB_TOKEN push — none of the extras
helped or were needed. Match that.

Package<->repo linking is handled by the one-time Connect Repository
step in package settings.

Type ci → no version bump.
This commit is contained in:
Offending Commit
2026-05-29 11:27:58 -05:00
parent 3a22f8e9c8
commit e3190c0bd7
2 changed files with 2 additions and 33 deletions

View File

@@ -30,12 +30,6 @@ RUN pnpm --filter @openconcho/web build
# under a read-only filesystem with cap_drop ALL.
FROM nginxinc/nginx-unprivileged:alpine
# Baked into the image config — the canonical, build-tool-independent signal GHCR
# reads to connect the published package to this repo. Evaluated at package
# creation, so it links freshly-created packages without relying on buildx
# annotation levels.
LABEL org.opencontainers.image.source="https://github.com/offendingcommit/openconcho"
COPY --chown=101:101 --from=builder /app/packages/web/dist /usr/share/nginx/html
# Rendered to /etc/nginx/conf.d/default.conf by the image's envsubst entrypoint.
COPY --chown=101:101 docker/nginx.conf.template /etc/nginx/templates/default.conf.template