Compare commits

..

1 commit

Author SHA1 Message Date
184687dd5f
fix(apt-version-exporter): add init container to fetch architecture
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful
2025-01-28 11:08:07 +01:00

View file

@ -60,11 +60,11 @@ spec:
readOnly: true
initContainers:
- name: get-architecture
image: alpine:latest
imagePullPolicy: Always
image: debian:12.9
imagePullPolicy: IfNotPresent
command: [
"sh", "-c",
"apk update && apk add dpkg && dpkg --print-architecture | cut -d'-' -f3 > /var/lib/dpkg/arch"
"dpkg --print-architecture > /var/lib/dpkg/arch"
]
volumeMounts:
- mountPath: /var/lib/dpkg