Skip to content

Commit

Permalink
Update nginx_proxy build to use newly published modsecurity base images
Browse files Browse the repository at this point in the history
  • Loading branch information
jhampson-dbre committed Jan 25, 2021
1 parent 38469f5 commit 7f2a954
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Test modsecurity build
# - name: Test modsecurity build
# uses: home-assistant/builder@master
# with:
# args: |
# --test \
# --all \
# --target nginx_proxy/modsecurity/

- name: Test build
uses: home-assistant/builder@master
with:
args: |
--test \
--all \
--target nginx_proxy/modsecurity/
# - name: Test build
# uses: home-assistant/builder@master
# with:
# args: |
# --test \
# --aarch64 \
# --target nginx_proxy/
--target nginx_proxy/
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,17 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Publish
# uses: home-assistant/builder@master
# with:
# args: |
# --all \
# --target nginx_proxy/modsecurity/ \
# --docker-hub jhampdbre
- name: Publish
uses: home-assistant/builder@master
with:
args: |
--all \
--target nginx_proxy/modsecurity/ \
--target nginx_proxy/ \
--docker-hub jhampdbre
2 changes: 1 addition & 1 deletion nginx_proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG BUILD_FROM

FROM jhampdbre/nginx-116-${BUILD_FROM} as build_modsecurity
FROM jhampdbre/${BUILD_FROM}-nginx-116-modsecurity as build_modsecurity

FROM $BUILD_FROM

Expand Down

0 comments on commit 7f2a954

Please sign in to comment.