-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added update-build script to add downstream labels (#697)
- Loading branch information
1 parent
dec7af3
commit b3411aa
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "Updating container file" | ||
|
||
: "${CONTAINER_FILE:=./contrib/docker/Dockerfile}" | ||
: "${COMMIT:=$(git rev-list --abbrev-commit --tags --max-count=1)}" | ||
|
||
cat <<EOF >>"${CONTAINER_FILE}" | ||
LABEL com.redhat.component="network-observability-flowlogs-pipeline-container" | ||
LABEL name="network-observability-flowlogs-pipeline" | ||
LABEL io.k8s.display-name="Network Observability Flow-Logs Pipeline" | ||
LABEL io.k8s.description="Network Observability Flow-Logs Pipeline" | ||
LABEL summary="Network Observability Flow-Logs Pipeline" | ||
LABEL maintainer="[email protected]" | ||
LABEL io.openshift.tags="network-observability-flowlogs-pipeline" | ||
LABEL upstream-vcs-ref="${COMMIT}" | ||
LABEL upstream-vcs-type="git" | ||
EOF |