Skip to content

Commit 1a866ce

Browse files
committed
Drop :latest tag from runner image build (security/M-007)
Railway pins the deploy to the SHA-tagged image (see "Deploy pinned image to Railway" step), so :latest was never the source of truth for the running container. Pushing it alongside the SHA tag was an unused-but- loaded gun: any operator who pointed a service at :latest during incident response would silently pick up whatever was last built, with no provenance pin. Removing it shrinks the supply-chain blast radius: a compromised contributor with talos-branch push access can no longer poison a long-lived floating tag that someone might fail over to.
1 parent d3ea17f commit 1a866ce

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/actions-image.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ jobs:
4646
file: ./dockerfile-actions
4747
push: true
4848
ssh: default
49-
tags: |
50-
${{ steps.prep.outputs.image_name }}:latest
51-
${{ steps.prep.outputs.image_name }}:${{ github.sha }}
49+
tags: ${{ steps.prep.outputs.image_name }}:${{ github.sha }}
5250

5351
# `railway redeploy` re-runs the last deployment using the digest
5452
# Railway already had — it does NOT pull a fresh `:latest` from GHCR,

0 commit comments

Comments
 (0)