Skip to content

Fix/ci silent pass on empty build#32

Merged
dark-vex merged 8 commits into
masterfrom
fix/ci-silent-pass-on-empty-build
May 11, 2026
Merged

Fix/ci silent pass on empty build#32
dark-vex merged 8 commits into
masterfrom
fix/ci-silent-pass-on-empty-build

Conversation

@dark-vex
Copy link
Copy Markdown
Owner

No description provided.

dark-vex added 7 commits May 11, 2026 20:15
Signed-off-by: Daniele De Lorenzi <2905124+dark-vex@users.noreply.github.com>
Signed-off-by: Daniele De Lorenzi <2905124+dark-vex@users.noreply.github.com>
Signed-off-by: Daniele De Lorenzi <2905124+dark-vex@users.noreply.github.com>
The old buildx (v0.5.1) paired with a current buildkit rejects
registry-qualified names in --output type=docker. Build with a plain
local tag (bareos-<app>:<tag>), then docker tag + docker push in the
push step. This removes the invalid reference format error entirely.
Signed-off-by: Daniele De Lorenzi <2905124+dark-vex@users.noreply.github.com>
…d push debug output

docker:stable was deprecated ~2020 and pins Docker ~19.03, which may
reject otherwise-valid registry references. Upgrading to docker:27 gets
current reference parsing. Debug echoes expose raw INPUT_REGISTRY and
GITHUB_REPOSITORY so we can confirm values at push time.
@wiz-b661a10a98
Copy link
Copy Markdown

wiz-b661a10a98 Bot commented May 11, 2026

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations 3 High 3 Medium 3 Low
SAST Finding SAST Findings -
Software Management Finding Software Management Findings -
Total 3 High 3 Medium 3 Low

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@@ -1,4 +1,4 @@
FROM docker:stable
FROM docker:27
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High IaC Finding

Missing User Instruction
on resource FROM docker:27 AS docker:27

More Details
This rule checks whether a `USER` instruction is specified in the Dockerfile. The rule fails when the `USER` instruction is missing, causing the container to run with root privileges (UID 0). If an attacker compromises an application running as root, they gain the privileges needed to potentially escape the container and attack the host node. It also increases the blast radius of a breach, allowing full control to modify files or install malware within the container. Enforcing a non-root user is a fundamental security measure that minimizes the attack surface and contains the impact of a potential compromise.

Expected

The Dockerfile stage should contain the 'USER' instruction

Found

The Dockerfile stage does not contain any 'USER' instruction

Security Frameworks: wf-id-264, wf-id-217, c7d2843b-ff83-4115-823e-a440e5c9b434, fcb43ca7-1138-43c6-af95-fe30190b00f7, 9bc0c54d-4a51-4dbc-8ae6-890bc8c96f68


Rule ID: e24d894e-a4db-4b8d-98cc-38d5825e1c7a


To ignore this finding as an exception, reply to this conversation with #wiz_ignore reason

If you'd like to ignore this finding in all future scans, add an exception in the .wiz file (learn more) or create an Ignore Rule (learn more).


To get more details on how to remediate this issue using AI, reply to this conversation with #wiz remediate

@@ -1,4 +1,4 @@
FROM docker:stable
FROM docker:27
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High IaC Finding

Missing User Instruction
on resource FROM docker:27 AS docker:27

More Details
This rule checks whether a `USER` instruction is specified in the Dockerfile. The rule fails when the `USER` instruction is missing, causing the container to run with root privileges (UID 0). If an attacker compromises an application running as root, they gain the privileges needed to potentially escape the container and attack the host node. It also increases the blast radius of a breach, allowing full control to modify files or install malware within the container. Enforcing a non-root user is a fundamental security measure that minimizes the attack surface and contains the impact of a potential compromise.

Expected

The Dockerfile stage should contain the 'USER' instruction

Found

The Dockerfile stage does not contain any 'USER' instruction

Security Frameworks: wf-id-264, wf-id-217, c7d2843b-ff83-4115-823e-a440e5c9b434, fcb43ca7-1138-43c6-af95-fe30190b00f7, 9bc0c54d-4a51-4dbc-8ae6-890bc8c96f68


Rule ID: e24d894e-a4db-4b8d-98cc-38d5825e1c7a


To ignore this finding as an exception, reply to this conversation with #wiz_ignore reason

If you'd like to ignore this finding in all future scans, add an exception in the .wiz file (learn more) or create an Ignore Rule (learn more).


To get more details on how to remediate this issue using AI, reply to this conversation with #wiz remediate

@@ -1,4 +1,4 @@
FROM docker:stable
FROM docker:27
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High IaC Finding

Missing User Instruction
on resource FROM docker:27 AS docker:27

More Details
This rule checks whether a `USER` instruction is specified in the Dockerfile. The rule fails when the `USER` instruction is missing, causing the container to run with root privileges (UID 0). If an attacker compromises an application running as root, they gain the privileges needed to potentially escape the container and attack the host node. It also increases the blast radius of a breach, allowing full control to modify files or install malware within the container. Enforcing a non-root user is a fundamental security measure that minimizes the attack surface and contains the impact of a potential compromise.

Expected

The Dockerfile stage should contain the 'USER' instruction

Found

The Dockerfile stage does not contain any 'USER' instruction

Security Frameworks: wf-id-264, wf-id-217, c7d2843b-ff83-4115-823e-a440e5c9b434, fcb43ca7-1138-43c6-af95-fe30190b00f7, 9bc0c54d-4a51-4dbc-8ae6-890bc8c96f68


Rule ID: e24d894e-a4db-4b8d-98cc-38d5825e1c7a


To ignore this finding as an exception, reply to this conversation with #wiz_ignore reason

If you'd like to ignore this finding in all future scans, add an exception in the .wiz file (learn more) or create an Ignore Rule (learn more).


To get more details on how to remediate this issue using AI, reply to this conversation with #wiz remediate

@dark-vex dark-vex merged commit 24a98f5 into master May 11, 2026
30 checks passed
@dark-vex dark-vex deleted the fix/ci-silent-pass-on-empty-build branch May 11, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant