Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NginxInc 2.3.0 #53

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
21 changes: 21 additions & 0 deletions .github/workflows/manual-nginxinc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Manual Push NginxInc Image to DockerHub

on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_API_TOKEN }}
- name: Build and Push image to docker Hub
env:
TAG: 2.3.0
REPO: signalsciences/sigsci-nginxinc-ingress-controller
run: |
docker buildx build . --file Dockerfile.nginxinc --build-arg NGINX_INGRESS_VERSION=${TAG} --tag ${REPO}:${TAG} --tag ${REPO}:latest --push .
5 changes: 3 additions & 2 deletions Dockerfile.nginxinc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ARG NGINX_INGRESS_VERSION=${NGINX_INGRESS_VERSION:-2.2.0-alpine}
FROM nginx/nginx-ingress:${NGINX_INGRESS_VERSION}
ARG NGINX_INGRESS_VERSION=${NGINX_INGRESS_VERSION}
ARG CONTAINER_BASE=alpine
FROM nginx/nginx-ingress:${NGINX_INGRESS_VERSION}-${CONTAINER_BASE}
ARG PKGNAME=${PKGNAME:-nginx-module-sigsci-nxo}

# Change to the root user to update the container
Expand Down
2 changes: 1 addition & 1 deletion sigsci-nginxinc-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ controller:
image:
## Replaces the default nginx-controller image with a custom image that contains the Signal Sciences nginx Module
repository: signalsciences/sigsci-nginxinc-ingress-controller
tag: "2.2.0"
tag: "2.3.0"
pullPolicy: IfNotPresent

# Load module and set sigsci_agent_host
Expand Down