Skip to content

Commit b8b77a7

Browse files
committed
ci: link create-e2e-accounts ghcr package to the repo via OCI source label
Signed-off-by: Alessandro Yuichi Okimoto <yuichijpn@gmail.com>
1 parent 8f90975 commit b8b77a7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.25 AS builder
1+
FROM golang:1.26.5 AS builder
22

33
WORKDIR /app
44
COPY . .
@@ -7,6 +7,10 @@ RUN CGO_ENABLED=0 go build -o create-e2e-accounts .
77

88
FROM gcr.io/distroless/base
99

10+
# Links the ghcr.io package to this repository, so packages created by the
11+
# image-build workflow automatically grant the repo's GITHUB_TOKEN write access.
12+
LABEL org.opencontainers.image.source=https://github.com/bucketeer-io/bucketeer
13+
1014
COPY --from=builder /app/create-e2e-accounts /usr/local/bin/
1115

1216
ENTRYPOINT ["create-e2e-accounts"]

0 commit comments

Comments
 (0)