Skip to content

Commit

Permalink
chore: func-utils image has appropriate labels (#2262)
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vašek <mvasek@redhat.com>
  • Loading branch information
matejvasek committed Apr 15, 2024
1 parent a0b9d35 commit b523294
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,11 @@ jobs:
docker buildx build . -f Dockerfile.utils \
--platform=linux/ppc64le,linux/s390x,linux/amd64,linux/arm64 \
--push \
-t "ghcr.io/knative/func-utils:latest"
-t "ghcr.io/knative/func-utils:latest" \
--annotation index:org.opencontainers.image.description="Knative Func Utils Image" \
--annotation index:org.opencontainers.image.source="https://github.com/knative/func" \
--annotation index:org.opencontainers.image.vendor="https://github.com/knative/func" \
--annotation index:org.opencontainers.image.url="https://github.com/knative/func/pkgs/container/func-utils"
publish-image:
needs: build
Expand Down
6 changes: 6 additions & 0 deletions Dockerfile.utils
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,10 @@ RUN apk add --no-cache socat tar \

COPY --from=builder /go/deploy /usr/local/bin/

LABEL \
org.opencontainers.image.description="Knative Func Utils Image" \
org.opencontainers.image.source="https://github.com/knative/func" \
org.opencontainers.image.vendor="https://github.com/knative/func" \
org.opencontainers.image.url="https://github.com/knative/func/pkgs/container/func-utils"

USER func:func

0 comments on commit b523294

Please sign in to comment.