Skip to content

Commit

Permalink
Add UBI description (#310)
Browse files Browse the repository at this point in the history
* Added UBI description

Signed-off-by: Maia Iyer <[email protected]>

* Added Alpine to image description

Signed-off-by: Maia Iyer <[email protected]>

* Update Dockerfile.backend-container

Signed-off-by: Maia Iyer <[email protected]>

Co-authored-by: Mariusz Sabath <[email protected]>

* Update Dockerfile.backend-container.ubi

Signed-off-by: Maia Iyer <[email protected]>

Co-authored-by: Mariusz Sabath <[email protected]>

* Update Dockerfile.frontend-container

Signed-off-by: Maia Iyer <[email protected]>

Co-authored-by: Mariusz Sabath <[email protected]>

* Update Dockerfile.frontend-container.ubi

Signed-off-by: Maia Iyer <[email protected]>

Co-authored-by: Mariusz Sabath <[email protected]>

---------

Signed-off-by: Maia Iyer <[email protected]>
Co-authored-by: Mariusz Sabath <[email protected]>
  • Loading branch information
maia-iyer and mrsabath authored Oct 12, 2023
1 parent 8e8070f commit d23b00b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.backend-container
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY bin/tornjak-backend tornjak-backend
# add a version link to the image description
ARG version
ARG github_sha
LABEL org.opencontainers.image.description="Tornjak backend ($version): https://github.com/spiffe/tornjak/releases/tag/$version" \
LABEL org.opencontainers.image.description="Tornjak backend ($version) Alpine based image: https://github.com/spiffe/tornjak/releases/tag/$version" \
org.opencontainers.image.source="https://github.com/spiffe/tornjak" \
org.opencontainers.image.documentation="https://github.com/spiffe/tornjak/tree/main/docs"

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.backend-container.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY bin/tornjak-backend tornjak-backend
# add a version link to the image description
ARG version
ARG github_sha
LABEL org.opencontainers.image.description="Tornjak backend ($version): https://github.com/spiffe/tornjak/releases/tag/$version" \
LABEL org.opencontainers.image.description="Tornjak backend ($version) UBI based image: https://github.com/spiffe/tornjak/releases/tag/$version" \
org.opencontainers.image.source="https://github.com/spiffe/tornjak" \
org.opencontainers.image.documentation="https://github.com/spiffe/tornjak/tree/main/docs"
# replace UBI labels
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.frontend-container
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ENTRYPOINT npx react-inject-env set -n tmp/env.js && serve -s build -p $PORT_FE
# add a version link to the image description
ARG version
ARG github_sha
LABEL org.opencontainers.image.description="Tornjak frontend ($version): https://github.com/spiffe/tornjak/releases/tag/$version" \
LABEL org.opencontainers.image.description="Tornjak frontend ($version) Alpine based image: https://github.com/spiffe/tornjak/releases/tag/$version" \
org.opencontainers.image.source="https://github.com/spiffe/tornjak" \
org.opencontainers.image.documentation="https://github.com/spiffe/tornjak/tree/main/docs"
# additional labels
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.frontend-container.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ENTRYPOINT npx react-inject-env set -n tmp/env.js && serve -s build -p $PORT_FE
# add a version link to the image description
ARG version
ARG github_sha
LABEL org.opencontainers.image.description="Tornjak frontend ($version): https://github.com/spiffe/tornjak/releases/tag/$version" \
LABEL org.opencontainers.image.description="Tornjak frontend ($version) UBI based Image: https://github.com/spiffe/tornjak/releases/tag/$version" \
org.opencontainers.image.source="https://github.com/spiffe/tornjak" \
org.opencontainers.image.documentation="https://github.com/spiffe/tornjak/tree/main/docs"
# replace UBI labels
Expand Down

0 comments on commit d23b00b

Please sign in to comment.