Skip to content

Commit 062964a

Browse files
author
Marcus Müller
committed
CI: giving up. hardcoding file into RUN.
COPY and buildx artifact hashing use different paths, and it's not possible to make them agree in the github action. I don't know why, but this has cost me a beautiful hour of my life, and I refuse to be victimized by GHA. Signed-off-by: Marcus Müller <mueller@baseband.digital>
1 parent 753d586 commit 062964a

4 files changed

Lines changed: 6 additions & 14 deletions

File tree

ci/ci-debian-14-3.10/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,9 @@ RUN \
120120
&& apt-get clean \
121121
&& apt-get autoclean
122122

123-
COPY sid.sources /etc/apt/sources.list.d/sid.sources
124-
RUN apt update -q \
123+
RUN echo "Types: deb deb-src\nURIs: http://deb.debian.org/debian/\nSuites: sid\nComponents: main\nSigned-By: /usr/share/keyrings/debian-archive-keyring.gpg\n" \
124+
> /etc/apt/sources.list.d/sid.sources \
125+
&& apt update -q \
125126
&& ${APT_INSTALL_COMMAND} \
126127
# for caching
127128
sccache \

ci/ci-debian-14-3.10/sid.sources

Lines changed: 0 additions & 5 deletions
This file was deleted.

ci/ci-debian-14-3.11/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ RUN \
119119
&& apt-get clean \
120120
&& apt-get autoclean
121121

122-
COPY sid.sources /etc/apt/sources.list.d/sid.sources
123-
RUN apt update -q \
122+
RUN echo "Types: deb deb-src\nURIs: http://deb.debian.org/debian/\nSuites: sid\nComponents: main\nSigned-By: /usr/share/keyrings/debian-archive-keyring.gpg\n" \
123+
> /etc/apt/sources.list.d/sid.sources \
124+
&& apt update -q \
124125
&& ${APT_INSTALL_COMMAND} \
125126
# for caching
126127
sccache \

ci/ci-debian-14-3.11/sid.sources

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)