Skip to content

Commit

Permalink
Merge pull request #133 from RDFLib/edmond/release-version-fix
Browse files Browse the repository at this point in the history
Fix release version formatting
  • Loading branch information
edmondchuc authored Jul 19, 2023
2 parents a231ebf + 604e90b commit 758a7d7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/on_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3

- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: latest

- name: Get release version
id: version
run: echo "VALUE=$(npx --yes semver ${{ github.event.release.tag_name }})" >> "$GITHUB_OUTPUT"

- name: Docker metadata
id: metadata
uses: docker/metadata-action@v4
Expand Down Expand Up @@ -43,7 +52,7 @@ jobs:
uses: docker/build-push-action@v4
with:
push: true
build-args: PREZ_VERSION=${{ steps.metadata.outputs.tags }}
build-args: PREZ_VERSION=${{ steps.version.outputs.VALUE }}
tags: ${{ steps.metadata.outputs.tags }}
# Set provenance to false due to issue documented here: https://github.com/docker/build-push-action/issues/778
provenance: false
Expand Down

0 comments on commit 758a7d7

Please sign in to comment.