diff --git a/apps/playnite-action-runner/project.json b/apps/playnite-action-runner/project.json index 03d515b04..58b0bc8d8 100644 --- a/apps/playnite-action-runner/project.json +++ b/apps/playnite-action-runner/project.json @@ -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" } @@ -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}" }