Skip to content

Commit

Permalink
Try platform instead of platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
paul1r committed Feb 5, 2025
1 parent d2aa02e commit b154578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@
- "id": "prepare-tag"
"name": "Prepare tag name"
"run": |
arch=$(echo ${{ matrix.arch }} | tr '/' '-')
arch=$(echo ${{ matrix.arch }} | cut -d'/' -f2)
echo "IMAGE_TAG=${{ steps.weekly-version.outputs.image_name }}:${{ steps.weekly-version.outputs.image_version }}-${arch}" >> $GITHUB_OUTPUT
- "id": "build-push"
Expand All @@ -521,7 +521,7 @@
"context": "release"
"file": "release/tools/lambda-promtail/Dockerfile"
"outputs": "type=image,push=true"
"platforms": "${{ matrix.arch }}"
"platform": "${{ matrix.arch }}"
"provenance": true
"tags": "${{ steps.prepare-tag.outputs.IMAGE_TAG }}"
- "id": "digest"
Expand Down

0 comments on commit b154578

Please sign in to comment.