Skip to content

Commit

Permalink
chore: ffmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Orie Steele committed Mar 19, 2022
1 parent 763bb8b commit b058724
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 213 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/create-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,9 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Save Revision Metadata
uses: jsdaniell/[email protected]
with:
name: "./templates/opencontainers-meta.json"
json: "${{steps.meta.outputs.json }}"

- name: Convert Revision Metadata to Credential Template
run: |-
cat ./templates/container.json | jq ".credentialSubject=$(cat ./templates/opencontainers-meta.json)" > ./templates/container-template.json
cat ./templates/container.json | jq ".credentialSubject=${{steps.meta.outputs.json }}" > ./templates/container-template.json
- name: Create a Verifiable Credential
id: create_registry_credential
Expand All @@ -52,6 +46,10 @@ jobs:
file-input: "./templates/container-template.json"
file-output: "./credentials"

- name: Clean up credential template
run: |-
rm ./templates/container-template.json
- uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: main
Expand Down
42 changes: 0 additions & 42 deletions credentials/0d246391-7d78-4f36-9482-5c4e4b4c0f9e.json

This file was deleted.

43 changes: 0 additions & 43 deletions credentials/60ab31f0-dd96-4b42-be69-682e1bfeca7e.json

This file was deleted.

42 changes: 0 additions & 42 deletions credentials/77c1f568-b42b-4906-901c-00f579f0df93.json

This file was deleted.

42 changes: 0 additions & 42 deletions credentials/e3c96be7-fa13-4626-a810-48f308e0a7e8.json

This file was deleted.

36 changes: 0 additions & 36 deletions templates/container-template.json

This file was deleted.

1 change: 0 additions & 1 deletion templates/opencontainers-meta.json

This file was deleted.

0 comments on commit b058724

Please sign in to comment.