Skip to content

Commit

Permalink
Address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli committed Jun 23, 2023
1 parent d86939b commit e947368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ codenotary:
signer: notary@home-assistant.io
base_image: notary@home-assistant.io
cosign:
base_issuer: https://token.actions.githubusercontent.com
base_identity: https://github.com/home-assistant/docker-base/.*
issuer: https://token.actions.githubusercontent.com
identity: https://github.com/home-assistant/builder/.*
args:
CAS_VERSION: "1.0.1"
Expand Down
4 changes: 2 additions & 2 deletions builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ function run_build() {
# Read build.json / cosign
if bashio::fs.file_exists "/tmp/build_config/build.json"; then
cosign_base_identity="$(jq --raw-output '.cosign.base_identity // empty' "/tmp/build_config/build.json")"
cosign_base_issuer="$(jq --raw-output '.cosign.base_issuer // empty' "/tmp/build_config/build.json")"
cosign_base_issuer="$(jq --raw-output '.cosign.base_issuer // "https://token.actions.githubusercontent.com"' "/tmp/build_config/build.json")"
cosign_identity="$(jq --raw-output '.cosign.identity // empty' "/tmp/build_config/build.json")"
cosign_issuer="$(jq --raw-output '.cosign.issuer // empty' "/tmp/build_config/build.json")"
cosign_issuer="$(jq --raw-output '.cosign.issuer // "https://token.actions.githubusercontent.com"' "/tmp/build_config/build.json")"

# remove later
codenotary_sign="$(jq --raw-output '.codenotary.signer // empty' "/tmp/build_config/build.json")"
Expand Down

0 comments on commit e947368

Please sign in to comment.