Skip to content

Commit

Permalink
fix(Dockerfile): Use correct secret ID for pgp_key (#3141)
Browse files Browse the repository at this point in the history
  • Loading branch information
gagantrivedi committed Dec 12, 2023
1 parent 8a5c20f commit 44ee410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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;


Expand Down

3 comments on commit 44ee410

@vercel
Copy link

@vercel vercel bot commented on 44ee410 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 44ee410 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs-flagsmith.vercel.app
docs.bullet-train.io
docs.flagsmith.com
docs-git-main-flagsmith.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 44ee410 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.