Skip to content

Commit

Permalink
APPLY stig ubi type (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeyh authored Nov 26, 2024
1 parent 0d7627b commit 77fc9b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77fc9b9

Please sign in to comment.