From c31d27ab5113b47f5eff0b8a124b48167a3611a9 Mon Sep 17 00:00:00 2001 From: Jared Hampson Date: Sun, 24 Jan 2021 18:28:37 -0600 Subject: [PATCH] Fix missing directory after switching to homeassistant base builder --- .github/workflows/main.yml | 2 +- .github/workflows/publish.yml | 2 +- modsecurity/Dockerfile | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 071d940..e66dcd2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,7 +26,7 @@ jobs: with: args: | --test \ - --amd64 \ + --all \ --target modsecurity/ # - name: Test build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8c79c5b..e35ab06 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,6 +20,6 @@ jobs: uses: home-assistant/builder@master with: args: | - --aarch64 \ + --all \ --target modsecurity/ \ --docker-hub jhampdbre diff --git a/modsecurity/Dockerfile b/modsecurity/Dockerfile index 4efc374..f40c9a9 100644 --- a/modsecurity/Dockerfile +++ b/modsecurity/Dockerfile @@ -59,6 +59,7 @@ RUN echo 'Installing Nginx Modules' && \ --add-dynamic-module=../ModSecurity-nginx && \ make modules \ ) && \ + mkdir -p /usr/lib/nginx/modules && \ cp /opt/nginx-${NGINX_VERSION}/objs/ngx_http_modsecurity_module.so \ /usr/lib/nginx/modules/ && \ rm -fr /opt/* && \