Skip to content

Commit

Permalink
add opencontainers revision label to backend dockerfile (#34047)
Browse files Browse the repository at this point in the history
Add image docker label for revision

GitOrigin-RevId: 05747891f00573894ead39010b4cbc636b55fa95
  • Loading branch information
gautamg795 authored and Convex, Inc. committed Feb 4, 2025
1 parent 3091f84 commit 4fe7cc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions self-hosted/Dockerfile.backend
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ RUN if [[ -z "$debug" ]]; then strip ./convex-local-backend; strip ./generate_ke
# Uses Ubuntu Noble (24.04) as the base image
FROM ubuntu:noble
LABEL org.opencontainers.repository=https://github.com/get-convex/convex-backend
LABEL org.opencontainers.image.revision=${VERGEN_GIT_SHA}

Check warning on line 92 in self-hosted/Dockerfile.backend

View workflow job for this annotation

GitHub Actions / Build backend image (x64)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$VERGEN_GIT_SHA' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 92 in self-hosted/Dockerfile.backend

View workflow job for this annotation

GitHub Actions / Build backend image (arm64)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$VERGEN_GIT_SHA' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

WORKDIR /convex

Expand Down

0 comments on commit 4fe7cc6

Please sign in to comment.