Skip to content

Commit

Permalink
fix: debugging github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jimisola committed Sep 30, 2024
1 parent 2ee328c commit 76352e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
annotations: ${{ steps.meta.outputs.annotations }}
provenance: mode=max
sbom: true
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,"annotation-index.org.opencontainers.image.description=Container image that contains unoserver and LibreOffice incl a large set of fonts for file format conversions"
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,annotation-index.org.opencontainers.image.description="Container image that contains unoserver and LibreOffice including a large set of fonts for file format conversions"
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index

Expand Down Expand Up @@ -135,9 +135,9 @@ jobs:
ACTIONS_STEP_DEBUG: true
# set -ex
run: |
echo $DOCKER_METADATA_OUTPUT_JSON | jq
echo $DOCKER_METADATA_OUTPUT_JSON | sed 's/\\"//g'|jq
export DOCKER_METADATA_OUTPUT_JSON=$(echo $DOCKER_METADATA_OUTPUT_JSON | sed 's/\\"//g'|jq)
# echo $DOCKER_METADATA_OUTPUT_JSON | jq
# echo $DOCKER_METADATA_OUTPUT_JSON | sed 's/\\"//g'|jq
# export DOCKER_METADATA_OUTPUT_JSON=$(echo $DOCKER_METADATA_OUTPUT_JSON | sed 's/\\"//g'|jq)
docker buildx imagetools create \
$(echo $DOCKER_METADATA_OUTPUT_JSON | jq -cr '.tags | map("-t " + .) | join(" ")') \
$(echo $DOCKER_METADATA_OUTPUT_JSON | jq -cr '.annotations | map("--annotation \"" + . + "\"") | join(" ")') \
Expand Down

0 comments on commit 76352e1

Please sign in to comment.