Skip to content

Commit

Permalink
Settign ref_name as version
Browse files Browse the repository at this point in the history
  • Loading branch information
santanusinha committed Jun 21, 2024
1 parent 3e01025 commit 800d345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: VERSION=${{ steps.meta.outputs.tags }}
build-args: VERSION=${{ github.ref_name }}

- name: Build and push Docker image for controller
uses: docker/build-push-action@v6
Expand All @@ -63,4 +63,4 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: VERSION=${{ steps.meta.outputs.tags }}
build-args: VERSION=${{ github.ref_name }}

0 comments on commit 800d345

Please sign in to comment.