Skip to content

Commit

Permalink
ci: fix Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
shamilsan committed Nov 9, 2023
1 parent d1ab7aa commit cda513c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Build and Deploy Vara Wiki to k8s
on:
push:
branches: ['master']
pull_request: # FIXME: Remove!

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -44,7 +45,7 @@ jobs:
with:
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest

deploy-to-k8s:
needs: build-and-push-vara-wiki-image
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine AS builder
FROM node:18-alpine AS builder
WORKDIR /vara-wiki
COPY . /vara-wiki
RUN npm install --force
Expand Down

0 comments on commit cda513c

Please sign in to comment.