test exposing ssh keys during docker build
Some checks failed
CI / Build nginx docker images (push) Failing after 6s
Some checks failed
CI / Build nginx docker images (push) Failing after 6s
This commit is contained in:
@@ -34,6 +34,7 @@ jobs:
|
|||||||
linux/arm64
|
linux/arm64
|
||||||
push: true
|
push: true
|
||||||
pull: true
|
pull: true
|
||||||
|
ssh: default
|
||||||
tags: |
|
tags: |
|
||||||
"gitea.woggioni.net/woggioni/nginx:latest"
|
"gitea.woggioni.net/woggioni/nginx:latest"
|
||||||
"gitea.woggioni.net/woggioni/nginx:v1.29.1"
|
"gitea.woggioni.net/woggioni/nginx:v1.29.1"
|
||||||
|
@@ -42,8 +42,10 @@ USER luser
|
|||||||
WORKDIR /home/luser
|
WORKDIR /home/luser
|
||||||
|
|
||||||
#RUN git clone --depth 1 --branch v4.0.0 https://github.com/libressl/portable.git libressl
|
#RUN git clone --depth 1 --branch v4.0.0 https://github.com/libressl/portable.git libressl
|
||||||
ADD --chown=luser:luser https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${LIBRESSL_VERSION}.tar.gz libressl.tgz
|
#RUN git clone --depth 1 --branch v4.0.0 https://github.com/libressl/portable.git libressl
|
||||||
RUN tar -xzf libressl.tgz && mv libressl-${LIBRESSL_VERSION} libressl && rm libressl.tgz
|
ADD --mount=ssh --chown=luser:luser git@github.com/libressl/portable.git#v${LIBRESSL_VERSION} libressl
|
||||||
|
#ADD --chown=luser:luser https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${LIBRESSL_VERSION}.tar.gz libressl.tgz
|
||||||
|
#RUN tar -xzf libressl.tgz && mv libressl-${LIBRESSL_VERSION} libressl && rm libressl.tgz
|
||||||
RUN mkdir -p libressl/build
|
RUN mkdir -p libressl/build
|
||||||
RUN cmake -G Ninja -B libressl/build -S libressl \
|
RUN cmake -G Ninja -B libressl/build -S libressl \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
Reference in New Issue
Block a user