diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ca8a5b17..20f253dc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,6 +23,12 @@ jobs: runs-on: ubuntu-latest name: ${{ matrix.docker }} steps: + - name: Login to Quay.io + uses: docker/login-action@v2 + with: + registry: quay.io + username: ${{ secrets.QUAY_UBI_READONLY_USERNAME }} + password: ${{ secrets.QUAY_UBI_READONLY_PASSWORD }} - name: build uses: sysdiglabs/exporter-builder@v1.1 with: diff --git a/build/Dockerfile b/build/Dockerfile index dc97cd7b..bfac1da9 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -17,7 +17,7 @@ RUN chmod +x /opt/jmx_exporter/start.sh CMD ["/opt/jmx_exporter/start.sh"] -FROM quay.io/sysdig/sysdig-mini-ubi9:1.3.13 as ubi +FROM quay.io/sysdig/sysdig-stig-mini-ubi9:1.2.0 as ubi RUN microdnf --assumeyes --disableplugin=subscription-manager --nodocs update && \ microdnf --assumeyes --disableplugin=subscription-manager --nodocs install java-1.8.0-openjdk-headless && \