diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f4350fa20..b818eb9b8 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/Dockerfile b/Dockerfile index 570fc96c1..62f0c0c92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ EXPOSE 9187 USER 59000:59000 ENTRYPOINT [ "/bin/postgres_exporter" ] -FROM quay.io/sysdig/sysdig-mini-ubi9:1.3.11 AS ubi +FROM quay.io/sysdig/sysdig-stig-mini-ubi9:1.2.0 AS ubi COPY --from=builder /bin/postgres_exporter /bin/postgres_exporter EXPOSE 9187 USER 59000:59000