aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/dockerhub.yml10
-rw-r--r--Dockerfile4
2 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml
index 5968d1b..c1a388c 100644
--- a/.github/workflows/dockerhub.yml
+++ b/.github/workflows/dockerhub.yml
@@ -13,14 +13,14 @@ jobs:
13 steps: 13 steps:
14 - 14 -
15 name: Checkout 15 name: Checkout
16 uses: actions/checkout@v3 16 uses: actions/checkout@v4
17 - 17 -
18 name: Set up QEMU 18 name: Set up QEMU
19 uses: docker/setup-qemu-action@v2 19 uses: docker/setup-qemu-action@v3
20 - 20 -
21 name: Set up Docker Buildx 21 name: Set up Docker Buildx
22 id: buildx 22 id: buildx
23 uses: docker/setup-buildx-action@v2 23 uses: docker/setup-buildx-action@v3
24 - 24 -
25 name: Login to Docker Hub 25 name: Login to Docker Hub
26 uses: docker/login-action@v2 26 uses: docker/login-action@v2
@@ -29,7 +29,7 @@ jobs:
29 password: ${{ secrets.DOCKERHUB_TOKEN }} 29 password: ${{ secrets.DOCKERHUB_TOKEN }}
30 - 30 -
31 name: Login to GHCR 31 name: Login to GHCR
32 uses: docker/login-action@v2 32 uses: docker/login-action@v3
33 with: 33 with:
34 registry: ghcr.io 34 registry: ghcr.io
35 username: ${{ github.actor }} 35 username: ${{ github.actor }}
@@ -44,7 +44,7 @@ jobs:
44 fi 44 fi
45 - 45 -
46 name: Build and push 46 name: Build and push
47 uses: docker/build-push-action@v3 47 uses: docker/build-push-action@v5
48 with: 48 with:
49 push: true 49 push: true
50 tags: | 50 tags: |
diff --git a/Dockerfile b/Dockerfile
index bf63e62..6a6d741 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
1# build stage 1# build stage
2FROM node:lts-alpine as build-stage 2FROM node:lts-alpine3.19 as build-stage
3 3
4WORKDIR /app 4WORKDIR /app
5 5
@@ -10,7 +10,7 @@ COPY . .
10RUN yarn build 10RUN yarn build
11 11
12# production stage 12# production stage
13FROM alpine:3.18 13FROM alpine:3.19
14 14
15ENV GID 1000 15ENV GID 1000
16ENV UID 1000 16ENV UID 1000