Skip to content

Commit

Permalink
Added back annotation in Docker image, changed format in Dockerfile l…
Browse files Browse the repository at this point in the history
…abel.
  • Loading branch information
vhadianto committed Feb 8, 2024
1 parent 93a0b9d commit dbdd0a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/flowpipe-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
tags: |
ghcr.io/${{ github.repository_owner }}/flowpipe:${{ github.event.inputs.version }}
ghcr.io/${{ github.repository_owner }}/flowpipe:latest
outputs: type=image,name=flowpipe,annotation-index.org.opencontainers.image.description="Flowpipe container image ${TARGETVERSION}"


# Outputs the image digest after the build.
- name: Image digest
Expand Down
14 changes: 6 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Use the slim version of Debian Bullseye as the base image
FROM debian:bullseye-slim

LABEL org.opencontainers.image.ref.name=flowpipe
LABEL org.opencontainers.image.version=${TARGETVERSION}
LABEL org.opencontainers.image.url="https://flowpipe.io"
LABEL org.opencontainers.image.authors="Turbot HQ, Inc"
LABEL org.opencontainers.image.source="https://github.com/turbot/flowpipe"

# Text only description, don't change to use special characters
LABEL org.opencontainers.image.description="Flowpipe container image"
LABEL org.opencontainers.image.ref.name flowpipe
LABEL org.opencontainers.image.version ${TARGETVERSION}
LABEL org.opencontainers.image.url "https://flowpipe.io"
LABEL org.opencontainers.image.authors "Turbot HQ, Inc"
LABEL org.opencontainers.image.source "https://github.com/turbot/flowpipe"
LABEL org.opencontainers.image.description "Flowpipe container image ${TARGETVERSION}"

# Define default environment variables to override the flowpipe UID and its GID
ENV USER_UID=7103
Expand Down

0 comments on commit dbdd0a4

Please sign in to comment.