diff options
-rw-r--r-- | .github/workflows/dockerhub.yml | 10 | ||||
-rw-r--r-- | Dockerfile | 4 |
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: | |
@@ -1,5 +1,5 @@ | |||
1 | # build stage | 1 | # build stage |
2 | FROM node:lts-alpine as build-stage | 2 | FROM node:lts-alpine3.19 as build-stage |
3 | 3 | ||
4 | WORKDIR /app | 4 | WORKDIR /app |
5 | 5 | ||
@@ -10,7 +10,7 @@ COPY . . | |||
10 | RUN yarn build | 10 | RUN yarn build |
11 | 11 | ||
12 | # production stage | 12 | # production stage |
13 | FROM alpine:3.18 | 13 | FROM alpine:3.19 |
14 | 14 | ||
15 | ENV GID 1000 | 15 | ENV GID 1000 |
16 | ENV UID 1000 | 16 | ENV UID 1000 |