Skip to content

Commit

Permalink
feat: use releaseworkflow for docker hub release
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuller88 committed Jan 26, 2021
1 parent 72eba7d commit 19ae38d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: get_version
run: |-
JSON=$(cat ./version.json)
echo "::set-output name=version::${JSON//'%'/'%25'}"
echo "::set-output name=version::${JSON}"
- name: Build and push
uses: docker/build-push-action@v2
with:
Expand Down
3 changes: 2 additions & 1 deletion .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ project.releaseWorkflow.addJobs({
name: "get_version",
run: [
'JSON=$(cat ./version.json)',
'echo "::set-output name=version::${JSON//\'%\'/\'%25\'}"',
// 'echo "::set-output name=version::${JSON//\'%\'/\'%25\'}"',
'echo "::set-output name=version::${JSON}"',
].join('\n'),
},
{
Expand Down

0 comments on commit 19ae38d

Please sign in to comment.