Skip to content

Commit

Permalink
Fix NGINX OSS integration tests (#888)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhurley authored Oct 3, 2024
1 parent 7087de1 commit 253ea3c
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ permissions:
env:
GOLANGCI_LINT_VERSION: 'v1.55.1'
NFPM_VERSION: 'v2.35.3'
NGINX_OSS_REGISTRY: 'docker-registry.nginx.com'

jobs:
lint:
Expand Down Expand Up @@ -213,16 +214,10 @@ jobs:
with:
name: nginx-agent-unsigned-snapshots
path: build
- name: Login to Docker Registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ${{ secrets.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Run Integration Tests
run: |
go install github.com/goreleaser/nfpm/v2/cmd/nfpm@${{ env.NFPM_VERSION }}
CONTAINER_NGINX_IMAGE_REGISTRY="${{ secrets.REGISTRY_URL }}" TAG="${{ matrix.container.version }}-${{ matrix.container.image }}" OS_RELEASE="${{ matrix.container.release }}"\
CONTAINER_NGINX_IMAGE_REGISTRY="${{ env.NGINX_OSS_REGISTRY }}" TAG="${{ matrix.container.version }}-${{ matrix.container.image }}" OS_RELEASE="${{ matrix.container.release }}"\
make official-image-integration-test
- name: Container Output Logs
if: failure()
Expand Down Expand Up @@ -413,4 +408,4 @@ jobs:
secrets: inherit
permissions:
contents: write
pull-requests: write
pull-requests: write

0 comments on commit 253ea3c

Please sign in to comment.