Skip to content

Commit a86f59f

Browse files
committed
feat: Upgrading to debian 12.7 and adding gh cli
1 parent dd909b3 commit a86f59f

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- path: postgres
2121
version: 14
2222
- path: debian
23-
version: 12.1
23+
version: 12.7
2424
steps:
2525
- uses: actions/checkout@v2
2626
with:

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- path: postgres
2121
version: 14
2222
- path: debian
23-
version: 12.1
23+
version: 12.7
2424
steps:
2525
- uses: actions/checkout@v2
2626
with:

images/debian/12.1/Dockerfile renamed to images/debian/12.7/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:12.1
1+
FROM debian:12.7
22
ENV DEBIAN_FRONTEND=noninteractive
33
RUN apt-get update && apt-get install -y \
44
curl \
@@ -24,6 +24,13 @@ RUN apt-get update && apt-get install -y \
2424
libssl-dev \
2525
pkg-config
2626

27+
RUN mkdir -p -m 755 /etc/apt/keyrings \
28+
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
29+
&& chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
30+
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
31+
&& apt-get update \
32+
&& apt-get install gh -y
33+
2734
# Helm CLI
2835
RUN curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null && \
2936
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list

0 commit comments

Comments
 (0)