aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2024-03-08 10:27:34 +0100
committerBastien Wirtz <bastien.wirtz@gmail.com>2024-03-08 10:27:34 +0100
commitdad372bbe61c45d82696ab2e36dd1bdfd0848c2b (patch)
tree4552d7d70c4c213e71a39f4bc86220964ed0b2ff
parent4d30ab4c4a9995ee689e2924e4a767247b85cf93 (diff)
downloadhomer-dad372bbe61c45d82696ab2e36dd1bdfd0848c2b.tar.gz
homer-dad372bbe61c45d82696ab2e36dd1bdfd0848c2b.tar.zst
homer-dad372bbe61c45d82696ab2e36dd1bdfd0848c2b.zip
Update build build actions
-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