diff --git a/.github/workflows/publish-collector-agent.yml b/.github/workflows/publish-collector-agent.yml index a6bd3f7d..d56bcd51 100644 --- a/.github/workflows/publish-collector-agent.yml +++ b/.github/workflows/publish-collector-agent.yml @@ -35,6 +35,9 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY_IMAGE }} + flavor: | + latest = false + tags: ${{ env.TAG_NAME }} - uses: actions/checkout@v2 with: @@ -108,6 +111,7 @@ jobs: - name: Create manifest list and push working-directory: /tmp/digests run: | + set -x docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ $(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)