We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ea60b7 commit 1e9695bCopy full SHA for 1e9695b
.github/workflows/build-and-push-docker-image.yml
@@ -51,14 +51,14 @@ jobs:
51
- name: Read Node.js version from .nvmrc
52
id: node_version
53
run: |
54
- NODE_VERSION=$(cat api/.nvmrc | tr -d 'v')
+ NODE_VERSION=$(cat .nvmrc | tr -d 'v')
55
echo "version=${NODE_VERSION}" >> $GITHUB_OUTPUT
56
57
- name: Build and push image
58
uses: docker/build-push-action@v3
59
with:
60
- context: api
61
- file: api/docker/Dockerfile.prod
+ context: .
+ file: docker/Dockerfile.prod
62
build-args: |
63
NODE_VERSION=${{ steps.node_version.outputs.version }}
64
tags: ${{ steps.meta.outputs.tags }}
0 commit comments