Skip to content

Commit 7c2e965

Browse files
Copilotneilime
andcommitted
Fix test expectations: account for untagged digest-only pushes
Co-authored-by: neilime <314088+neilime@users.noreply.github.com>
1 parent 9ac94e6 commit 7c2e965

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/__test-workflow-docker-build-images.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,10 @@ jobs:
164164
const expectedTaggedVersions = isSigned ? 2 : 1;
165165
166166
// Expected untagged versions:
167-
// - For single platform: 0 (no multiarch manifest created)
168-
// - For multi platform: number of platforms (one per platform)
169-
const expectedUntaggedVersions = isSinglePlatform ? 0 : platforms.length;
167+
// - For single platform: 1 (the digest-only push from build step)
168+
// - For multi platform: number of platforms (one per platform digest-only push)
169+
// Note: The build step uses push-by-digest which creates untagged versions
170+
const expectedUntaggedVersions = platforms.length;
170171
171172
assert.equal(
172173
taggedVersions.length,

0 commit comments

Comments
 (0)