fix: scan coder-preview:main instead of coder:latest (#25056)

This commit is contained in:
Jon Ayers
2026-05-07 18:15:26 +00:00
committed by GitHub
parent 39789c5c3b
commit ffe2595f63
+2 -2
View File
@@ -68,7 +68,7 @@ jobs:
security-events: write
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
env:
IMAGE_REF: ghcr.io/coder/coder:latest
IMAGE_REF: ghcr.io/coder/coder-preview:main
OSV_SCANNER_VERSION: v2.3.5
steps:
- name: Harden Runner
@@ -82,7 +82,7 @@ jobs:
"https://github.com/google/osv-scanner/releases/download/${OSV_SCANNER_VERSION}/osv-scanner_linux_amd64"
chmod +x /usr/local/bin/osv-scanner
- name: Pull released Coder image
- name: Pull latest Coder preview image
run: docker pull "$IMAGE_REF"
- name: Run OSV-Scanner vulnerability scanner