Skip to content

Commit

Permalink
Adding pgp key to apt keyring
Browse files Browse the repository at this point in the history
  • Loading branch information
cameroncaci committed Oct 4, 2023
1 parent b297627 commit b22a163
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ RUN set -ex && cd ~ \
&& aws --version \
&& rm -r awscliv2.zip awscliv2.sig aws

# install gh, import pgp key
# import gh pgp key
COPY sigs/ghcli_pgp.key /tmp/ghcli_pgp.key
# add to apt keyring
RUN gpg --export --armor 23F3D4EA75716059 | apt-key add -
# install gh
RUN gpg --import /tmp/ghcli_pgp.key
RUN set -ex && \
apt-add-repository https://cli.github.com/packages && \
Expand Down

0 comments on commit b22a163

Please sign in to comment.