Skip to content

Commit

Permalink
fix: fixes for initial sample workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
clay-lake committed Dec 2, 2024
1 parent 9c227b1 commit f39def2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test_eicar_rock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

test:
uses: canonical/oci-factory/.github/workflows/Test-Rock.yaml@main
needs: [build-rock]
needs: [build]
with:
oci-archive-name: "eicar-rock"
test-vulnerabilities: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_mock_rock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
uses: canonical/oci-factory/.github/workflows/Build-Rock.yaml@main
with:
oci-archive-name: "mock-rock"
# rock-repo: canonical/rocks-toolbox
# rock-repo-commit: main
rockfile-directory: mock_rock/1.0
rock-repo: canonical/rocks-toolbox
rock-repo-commit: main
rockfile-directory: mock_rock/1.0
12 changes: 6 additions & 6 deletions .github/workflows/test_external_rock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ jobs:
-v $PWD:/workdir -w /workdir \
${{ env.SKOPEO_IMAGE }} \
copy docker://${{ env.TEST_IMAGE }} \
oci-archive:${{ env.TEST_IMAGE_FILENAME }}
oci-archive:test_image
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: ${{ env.TEST_IMAGE_FILENAME }}
path: ${{ env.TEST_IMAGE_FILENAME }}
name: test_image
path: test_image
retention-days: 1

test:
uses: canonical/oci-factory/.github/workflows/Test-Rock.yaml@main
needs: [build-rock]
needs: [setup]
with:
oci-archive-name: ${{ env.TEST_IMAGE_FILENAME }}
oci-archive-name: test_image
test-vulnerabilities: true
test-oci-compliance: true
test-efficiency: true
test_malware: true
test_malware: true

0 comments on commit f39def2

Please sign in to comment.