Interview Prep/GitHub Actions/Expressions, Outputs, Matrix & Conditions

`Warning: Skip output 'image' since it may contain secret.`

AdvancedTroubleshootingExpressions, Outputs, Matrix & Conditions
Answer

Likely causes → The value contains a registered secret or masked string, often the AWS account ID (part of the ECR registry) because someone stored the account ID as a secret, or configure-aws-credentials was told to mask the account ID (mask-aws-account-id: true).

Diagnose → Check which secrets or masks overlap with the value.

Fix → Store account IDs as variables, leave account-ID masking off on configure-aws-credentials if your policy allows, or output only the non-sensitive part (digest) and rebuild the full reference downstream.

Prevent → Do not register non-secret identifiers as secrets.

All GitHub Actions questions Roadmap: GitHub Actions

More on Expressions, Outputs, Matrix & Conditions