Skip to content

Commit

Permalink
APPLY stig ubi type
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeyh committed Nov 26, 2024
1 parent 7dcd52b commit 6b518e6
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 build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 6b518e6

Please sign in to comment.