Skip to content

Commit

Permalink
fix tests, upgrade skopeo add --preserve-digests on copy
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanmars committed Nov 30, 2024
1 parent eab90af commit 03108f6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
general-tests:
name: General Tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:

integration-tests:
name: Test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: general-tests

strategy:
Expand Down Expand Up @@ -317,7 +317,7 @@ jobs:
github-attestation-tests:
name: Github Referrer/Attestation Tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
REGISTRY: ghcr.io
needs: integration-tests
Expand Down Expand Up @@ -429,7 +429,7 @@ jobs:
cosign-test:
name: Cosign Test
needs: github-attestation-tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand Down Expand Up @@ -489,7 +489,7 @@ jobs:

multi-package-cleanup:
name: Cleanup Multiple Packages
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: cosign-test

steps:
Expand All @@ -507,7 +507,7 @@ jobs:

shared-image-tagged-test:
name: Shared Images Tagged Test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: multi-package-cleanup

steps:
Expand Down Expand Up @@ -564,7 +564,7 @@ jobs:

shared-image-untagged-test:
name: Shared Images Untagged Test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: shared-image-tagged-test

steps:
Expand Down Expand Up @@ -620,7 +620,7 @@ jobs:

multi-package-cleanup-regex:
name: Cleanup Multiple Packages - Regex
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: shared-image-untagged-test
env:
GHCR_PAT: ${{secrets.GHCR_PAT}}
Expand Down
3 changes: 2 additions & 1 deletion citester/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37195,7 +37195,8 @@ function pushImage(srcImage, destImage, extraArgs, token) {
'copy',
`docker://${srcImage}`,
`docker://${destImage}`,
`--dest-creds=token:${token}`
`--dest-creds=token:${token}`,
'--preserve-digests'
];
if (extraArgs) {
const parts = extraArgs.split(' ');
Expand Down
2 changes: 1 addition & 1 deletion citester/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/ci-tester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ function pushImage(
'copy',
`docker://${srcImage}`,
`docker://${destImage}`,
`--dest-creds=token:${token}`
`--dest-creds=token:${token}`,
'--preserve-digests'
]
if (extraArgs) {
const parts = extraArgs.split(' ')
Expand Down

0 comments on commit 03108f6

Please sign in to comment.