Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/opus-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Docker login
run: docker login -u rocmshared -p ${{ secrets.DOCKER_PASSWORD }} || true
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

docker login -p ... || true both passes the password on the command line (can leak via process list) and suppresses login failures, which can make image pull issues harder to diagnose. Prefer --password-stdin and gate the step so it only runs when the secret is available (e.g. skip on fork PRs / when DOCKER_PASSWORD is empty) rather than ignoring errors.

Suggested change
run: docker login -u rocmshared -p ${{ secrets.DOCKER_PASSWORD }} || true
if: ${{ secrets.DOCKER_PASSWORD != '' }}
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
printf '%s\n' "$DOCKER_PASSWORD" | docker login -u rocmshared --password-stdin

Copilot uses AI. Check for mistakes.
- name: Run the container
run: |
set -ex
Expand Down
Loading