mirror of
https://github.com/scito/extract_otp_secret_keys.git
synced 2025-12-06 06:44:57 +01:00
* ci: fix digest artifact names for multi-platform Docker builds * ci: remove unused platforms parameter from Docker build steps * ci: push Docker images exceptionally on feature branch * ci: update Dockerfile to include uname command and fix label formatting * ci: update CI workflow to set platforms dynamically for Docker builds * ci: disable arm64 docker * ci: only arm64 docker * ci: update CI workflow for multiarch Docker builds and manifest creation * ci: add multiarch manifest creation * ci: fix multiarch manifest for loop * ci: restore push conditions for Docker image builds * ci: restore push conditions for Docker image builds
This commit is contained in:
parent
95c34277ca
commit
d5a8b6f0c0
3 changed files with 147 additions and 36 deletions
|
|
@ -16,7 +16,8 @@ COPY requirements*.txt src/ run_pytest.sh pytest.ini tests/ example_*.txt exampl
|
|||
|
||||
ARG RUN_TESTS=true
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
RUN uname -a \
|
||||
&& apt-get update && apt-get install -y --no-install-recommends \
|
||||
libgl1 \
|
||||
libglib2.0-0 \
|
||||
libsm6 \
|
||||
|
|
@ -31,6 +32,6 @@ WORKDIR /files
|
|||
|
||||
ENTRYPOINT ["python", "/extract/extract_otp_secrets.py"]
|
||||
|
||||
LABEL org.opencontainers.image.source https://github.com/scito/extract_otp_secrets
|
||||
LABEL org.opencontainers.image.license GPL-3.0+
|
||||
LABEL org.opencontainers.image.source=https://github.com/scito/extract_otp_secrets
|
||||
LABEL org.opencontainers.image.license=GPL-3.0+
|
||||
LABEL maintainer="Scito https://scito.ch, https://github.com/scito"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@ COPY requirements*.txt src/ run_pytest.sh pytest.ini tests/ example_*.txt exampl
|
|||
|
||||
ARG RUN_TESTS=true
|
||||
|
||||
RUN apk add --no-cache \
|
||||
RUN uname -a \
|
||||
&& apk add --no-cache \
|
||||
jpeg \
|
||||
zlib \
|
||||
&& echo "Arch: $(apk --print-arch)" \
|
||||
|
|
@ -43,6 +44,6 @@ WORKDIR /files
|
|||
|
||||
ENTRYPOINT ["python", "/extract/extract_otp_secrets.py"]
|
||||
|
||||
LABEL org.opencontainers.image.source https://github.com/scito/extract_otp_secrets
|
||||
LABEL org.opencontainers.image.license GPL-3.0+
|
||||
LABEL org.opencontainers.image.source=https://github.com/scito/extract_otp_secrets
|
||||
LABEL org.opencontainers.image.license=GPL-3.0+
|
||||
LABEL maintainer="Scito https://scito.ch, https://github.com/scito"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue