diff --git a/.github/workflows/ftl-build.yml b/.github/workflows/ftl-build.yml index b5395f0..175a0bf 100644 --- a/.github/workflows/ftl-build.yml +++ b/.github/workflows/ftl-build.yml @@ -205,9 +205,9 @@ jobs: name: Create manifest list and push to repository DockerHub and GitHub Container Registry) working-directory: /tmp/digests run: | - docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ + docker buildx imagetools create $(jq -cr '.tags | map(select(startswith("${{ env.GITHUB_REGISTRY_IMAGE }}")) | "-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ $(printf '${{ env.GITHUB_REGISTRY_IMAGE }}@sha256:%s ' *) - docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ + docker buildx imagetools create $(jq -cr '.tags | map(select(startswith("${{ env.DOCKER_REGISTRY_IMAGE }}")) | "-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ $(printf '${{ env.DOCKER_REGISTRY_IMAGE }}@sha256:%s ' *) - name: Inspect images