Skip to content

Commit 77fc9b9

Browse files
authored
APPLY stig ubi type (#111)
1 parent 0d7627b commit 77fc9b9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/build.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ jobs:
2323
runs-on: ubuntu-latest
2424
name: ${{ matrix.docker }}
2525
steps:
26+
- name: Login to Quay.io
27+
uses: docker/login-action@v2
28+
with:
29+
registry: quay.io
30+
username: ${{ secrets.QUAY_UBI_READONLY_USERNAME }}
31+
password: ${{ secrets.QUAY_UBI_READONLY_PASSWORD }}
2632
- name: build
2733
uses: sysdiglabs/[email protected]
2834
with:

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ EXPOSE 9187
1818
USER 59000:59000
1919
ENTRYPOINT [ "/bin/postgres_exporter" ]
2020

21-
FROM quay.io/sysdig/sysdig-mini-ubi9:1.3.11 AS ubi
21+
FROM quay.io/sysdig/sysdig-stig-mini-ubi9:1.2.0 AS ubi
2222
COPY --from=builder /bin/postgres_exporter /bin/postgres_exporter
2323
EXPOSE 9187
2424
USER 59000:59000

0 commit comments

Comments
 (0)