Skip to content

Commit

Permalink
fix(semantic-release): Fix docker tag and label for uploaded assets
Browse files Browse the repository at this point in the history
  • Loading branch information
akosveres committed May 12, 2022
1 parent f8a3180 commit 4ddd497
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,12 @@ jobs:
- name: Build multi-platform images
uses: docker/build-push-action@v2
if: ${{ steps.semantic.outputs.new_release_version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IMAGE: ${{ env.REGISTRY }}/${{env.IMAGE_NAME}}:${{ steps.semantic.outputs.new_release_version }}
with:
context: .
# platforms: linux/amd64,linux/arm/v7 - TODO figure out how to build arm/v7 images
platforms: linux/amd64
push: true
tags: ${{ steps.semantic.outputs.new_release_version }}
tags: ${{ env.IMAGE }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{
"path": "dry-run/manifests.yaml",
"name": "install-${nextRelease.gitTag}.yaml",
"label": "Kubernetes manifest files"
"label": "install-${nextRelease.gitTag}.yaml"
}
]
}
Expand Down

0 comments on commit 4ddd497

Please sign in to comment.