From 055c6418d4c3a5109c8fbb64828a62fb66343806 Mon Sep 17 00:00:00 2001 From: Zoey Date: Tue, 14 Jan 2025 23:15:07 +0100 Subject: [PATCH] Update docker.yml Signed-off-by: Zoey --- .github/workflows/docker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3ec84c8..7374802 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -91,14 +91,14 @@ jobs: run: | docker run -d --pull always --platform amd64 --name nginx-x86_64 ${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ github.ref_name }} docker cp nginx-x86_64:/usr/local/nginx nginx + docker cp nginx-x86_64:/usr/local/lib nginx/lib docker cp nginx-x86_64:/usr/local/nginx/sbin/nginx nginx-x86_64 - docker cp nginx-x86_64:/usr/local/modsecurity/lib/libmodsecurity.so.3 nginx/libmodsecurity.so.3 tar -cJf nginx-x86_64.tar.xz nginx rm -r nginx docker run -d --pull always --platform arm64 --name nginx-aarch64 ${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ github.ref_name }} docker cp nginx-aarch64:/usr/local/nginx nginx + docker cp nginx-aarch64:/usr/local/lib nginx/lib docker cp nginx-aarch64:/usr/local/nginx/sbin/nginx nginx-aarch64 - docker cp nginx-aarch64:/usr/local/modsecurity/lib/libmodsecurity.so.3 nginx/libmodsecurity.so.3 tar -cJf nginx-aarch64.tar.xz nginx rm -r nginx - uses: actions/upload-artifact@v4 @@ -154,14 +154,14 @@ jobs: run: | docker run -d --pull always --platform amd64 --name nginx-x86_64 ghcr.io/${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ steps.pr.outputs.pr }} docker cp nginx-x86_64:/usr/local/nginx nginx + docker cp nginx-x86_64:/usr/local/lib nginx/lib docker cp nginx-x86_64:/usr/local/nginx/sbin/nginx nginx-x86_64 - docker cp nginx-x86_64:/usr/local/modsecurity/lib/libmodsecurity.so.3 nginx/libmodsecurity.so.3 tar -cJf nginx-x86_64.tar.xz nginx rm -r nginx docker run -d --pull always --platform arm64 --name nginx-aarch64 ghcr.io/${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ steps.pr.outputs.pr }} docker cp nginx-aarch64:/usr/local/nginx nginx + docker cp nginx-aarch64:/usr/local/lib nginx/lib docker cp nginx-aarch64:/usr/local/nginx/sbin/nginx nginx-aarch64 - docker cp nginx-aarch64:/usr/local/modsecurity/lib/libmodsecurity.so.3 nginx/libmodsecurity.so.3 tar -cJf nginx-aarch64.tar.xz nginx rm -r nginx - uses: actions/upload-artifact@v4