Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish Docker images for the GC tool #8055

Merged
merged 7 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/docker-sync/regsync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ defaults:
retry: 15m
parallel: 2
sync:
# Server
- source: ghcr.io/projectnessie/nessie-unstable
target: quay.io/projectnessie/nessie-unstable
type: repository
Expand All @@ -35,3 +36,24 @@ sync:
- source: ghcr.io/projectnessie/nessie
target: docker.io/projectnessie/nessie
type: repository
# GC Tool
- source: ghcr.io/projectnessie/nessie-gc-unstable
target: quay.io/projectnessie/nessie-gc-unstable
type: repository
tags:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can omit the tags here. We needed those for Nessie to not mirror super-old versions.
Since you're already touching this file - can you change the regex for Nessie server above to something like 0[.][789]\\d[.].*|[123][.].* - to include everything like 0.7[0-9].... and newer - and 1.xxx as well.

allow:
- "latest.*"
- "0[.][567]\\d+[.].*"
- source: ghcr.io/projectnessie/nessie-gc-unstable
target: docker.io/projectnessie/nessie-gc-unstable
type: repository
tags:
allow:
- "latest.*"
- "0[.][567]\\d+[.].*"
- source: ghcr.io/projectnessie/nessie-gc
target: quay.io/projectnessie/nessie-gc
type: repository
- source: ghcr.io/projectnessie/nessie-gc
target: docker.io/projectnessie/nessie-gc
type: repository
2 changes: 1 addition & 1 deletion tools/dockerbuild/docker/Dockerfile-gctool
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM registry.access.redhat.com/ubi9/openjdk-21:1.17-2.1705482269

LABEL org.opencontainers.image.source=https://github.com/projectnessie/nessie
LABEL org.opencontainers.image.description="ProjectNessie GC Tool"
LABEL org.opencontainers.image.description="Projectnessie GC Tool"
LABEL org.opencontainers.image.licenses=Apache-2.0

ENV LANGUAGE='en_US:en'
Expand Down