Skip to content

Commit 1e9695b

Browse files
committed
Update build-and-push-docker-image.yml
1 parent 0ea60b7 commit 1e9695b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-and-push-docker-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ jobs:
5151
- name: Read Node.js version from .nvmrc
5252
id: node_version
5353
run: |
54-
NODE_VERSION=$(cat api/.nvmrc | tr -d 'v')
54+
NODE_VERSION=$(cat .nvmrc | tr -d 'v')
5555
echo "version=${NODE_VERSION}" >> $GITHUB_OUTPUT
5656
5757
- name: Build and push image
5858
uses: docker/build-push-action@v3
5959
with:
60-
context: api
61-
file: api/docker/Dockerfile.prod
60+
context: .
61+
file: docker/Dockerfile.prod
6262
build-args: |
6363
NODE_VERSION=${{ steps.node_version.outputs.version }}
6464
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)