diff --git a/api/Dockerfile b/api/Dockerfile index 161244e3fb5a..62593298479c 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -30,7 +30,7 @@ ARG TARGETARCH RUN if [ "${TARGETARCH}" != "amd64" ]; then apt-get update && apt-get install -y libpq-dev && rm -rf /var/lib/apt/lists/*; fi; # Install GnuPG(and import private key) if secret file exists -RUN --mount=type=secret,id=pgp_pkey if [ -f /run/secrets/sse_pgp_pkey ]; then \ +RUN --mount=type=secret,id=sse_pgp_pkey if [ -f /run/secrets/sse_pgp_pkey ]; then \ apt-get update && apt-get install -y gnupg && gpg --import /run/secrets/sse_pgp_pkey; fi;