Skip to content

Commit

Permalink
correct docker tag naming for version
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codes committed Nov 21, 2023
1 parent 03c32b3 commit 9dd208f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/playnite-action-runner/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"executor": "nx:run-commands",
"options": {
"commands": [
"export VERSION=$(cat package.json | jq -r '.version')",
"docker build -t ghcr.io/andrew-codes/playnite-action-runner:latest -t ghcr.io/andrew-codes/playnite-action-runner:$VERSION ."
"export VERSION=$(cat package.json | jq -r '.version') && docker build -t ghcr.io/andrew-codes/playnite-action-runner:latest -t ghcr.io/andrew-codes/playnite-action-runner:$VERSION ."
],
"cwd": "{projectRoot}/src"
}
Expand All @@ -24,9 +23,8 @@
"executor": "nx:run-commands",
"options": {
"commands": [
"export VERSION=$(cat package.json | jq -r '.version')",
"docker push ghcr.io/andrew-codes/playnite-action-runner:latest",
"docker push ghcr.io/andrew-codes/playnite-action-runner:$VERSION"
"export VERSION=$(cat package.json | jq -r '.version') && docker push ghcr.io/andrew-codes/playnite-action-runner:$VERSION"
],
"cwd": "{projectRoot}"
}
Expand Down

0 comments on commit 9dd208f

Please sign in to comment.