Skip to content

Commit

Permalink
ci: Debugging build
Browse files Browse the repository at this point in the history
  • Loading branch information
jimisola committed Aug 4, 2024
1 parent 809468c commit 6c43f31
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 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 incl a large set of fonts for file format conversions
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index

Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
type=ref,event=pr
type=semver,pattern={{version}}
annotations: |
org.opencontainers.image.description=Container image that contains unoserver and LibreOffice including large set of fonts for file format conversions
org.opencontainers.image.description=Container image that contains unoserver and libreoffice including large set of fonts for file format conversions
org.opencontainers.image.licenses=MIT
org.opencontainers.image.source=https://github.com/unoconv/unoserver-docker
env:
Expand All @@ -127,12 +127,17 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Debug info 1
working-directory: /tmp/digests
run: ls -la

- name: Debug info 2
working-directory: /tmp/digests
run: cat *

- name: Create manifest list and push
working-directory: /tmp/digests
run: |
ls -la
cat *
echo $DOCKER_METADATA_OUTPUT_JSON
docker buildx imagetools create \
$(echo $DOCKER_METADATA_OUTPUT_JSON | jq -cr '.tags | map("-t " + .) | join(" ")') \
$(echo $DOCKER_METADATA_OUTPUT_JSON | jq -r '.annotations | map("--annotation \"" + . + "\"") | join(" ")') \
Expand Down

0 comments on commit 6c43f31

Please sign in to comment.