diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a417524..ced3ae8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -61,8 +61,7 @@ jobs: persist-credentials: false - name: Create tag list for image - # Create taglist - # We make use of yp (https://mikefarah.gitbook.io/yq/) to create a JSON array from + # We make use of yp (https://mikefarah.gitbook.io/yq/) to create a taglist from # the image’s `tags.yml` file, where all given tags (like `5-stable`, `5-edge`) are # combined with all image registries (like ghcr, Docker Hub). run: | @@ -70,7 +69,7 @@ jobs: ( "ghcr.io/friendsofredaxo/redaxo" ) - + ":" + .[]) | to_json(0)' ./images/${{ matrix.image }}/tags.yml) + + ":" + .[]) | to_csv' ./images/${{ matrix.image }}/tags.yml) echo "$taglist" echo "TAGLIST=$taglist" >> $GITHUB_ENV @@ -105,7 +104,7 @@ jobs: platforms: linux/amd64,linux/arm64 push: true provenance: false - tags: ${{ fromJson(env.TAGLIST) }} + tags: ${{ env.TAGLIST }} # - name: Update repo description # # https://github.com/marketplace/actions/docker-hub-description