Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Jan 23, 2024
1 parent 6290156 commit 6f89b9d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,13 @@ 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/perl5 nginx/perl5
docker cp nginx-x86_64:/usr/local/nginx/sbin/nginx nginx-x86_64
docker cp nginx-x86_64:/usr/lib/perl5/core_perl/perllocal.pod nginx/perllocal.pod
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/perl5 nginx/perl5
docker cp nginx-aarch64:/usr/local/nginx/sbin/nginx nginx-aarch64
docker cp nginx-aarch64:/usr/lib/perl5/core_perl/perllocal.pod nginx/perllocal.pod
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
Expand Down Expand Up @@ -128,17 +124,13 @@ 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/perl5 nginx/perl5
docker cp nginx-x86_64:/usr/local/nginx/sbin/nginx nginx-x86_64
docker cp nginx-x86_64:/usr/lib/perl5/core_perl/perllocal.pod nginx/perllocal.pod
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/perl5 nginx/perl5
docker cp nginx-aarch64:/usr/local/nginx/sbin/nginx nginx-aarch64
docker cp nginx-aarch64:/usr/lib/perl5/core_perl/perllocal.pod nginx/perllocal.pod
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
Expand Down

0 comments on commit 6f89b9d

Please sign in to comment.