Skip to content

Commit 1ec3df3

Browse files
committed
fix: ci: use build push action again
1 parent f0c038c commit 1ec3df3

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/deploy-image.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,12 @@ jobs:
3535
username: ${{ github.actor }}
3636
password: ${{ secrets.GITHUB_TOKEN }}
3737

38-
- name: Docker build
39-
run: docker build -t ${{ env.IMAGE_NAME }} .
38+
- name: Build and push Docker image
39+
uses: docker/build-push-action@e551b19e49efd4e98792db7592c17c09b89db8d8 # v3.0.0
40+
with:
41+
context: .
42+
push: false
43+
tags: ${{ env.IMAGE_NAME }}
4044

4145
- run: npx semantic-release
4246
env:

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ RUN apt-get update && apt-get install -y curl gzip
33
WORKDIR /app
44

55
COPY package.json ./
6+
COPY prisma/ prisma/
67
RUN yarn install
78

89
RUN curl -L -o elm.gz https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz && \

0 commit comments

Comments
 (0)