]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Update build build actions
authorBastien Wirtz <bastien.wirtz@gmail.com>
Fri, 8 Mar 2024 09:27:34 +0000 (10:27 +0100)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Fri, 8 Mar 2024 09:27:34 +0000 (10:27 +0100)
.github/workflows/dockerhub.yml
Dockerfile

index 5968d1bd3bbd74684fe9f9e1d7a0f6683a4b1655..c1a388c073f7e9f63e68675d5876ed1b4e627cae 100644 (file)
@@ -13,14 +13,14 @@ jobs:
     steps:
       -
         name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
       -
         name: Set up QEMU
-        uses: docker/setup-qemu-action@v2
+        uses: docker/setup-qemu-action@v3
       -
         name: Set up Docker Buildx
         id: buildx
-        uses: docker/setup-buildx-action@v2
+        uses: docker/setup-buildx-action@v3
       -
         name: Login to Docker Hub
         uses: docker/login-action@v2
@@ -29,7 +29,7 @@ jobs:
           password: ${{ secrets.DOCKERHUB_TOKEN }}
       -
         name: Login to GHCR
-        uses: docker/login-action@v2
+        uses: docker/login-action@v3
         with:
           registry: ghcr.io
           username: ${{ github.actor }}
@@ -44,7 +44,7 @@ jobs:
           fi
       -
         name: Build and push
-        uses: docker/build-push-action@v3
+        uses: docker/build-push-action@v5
         with:
           push: true
           tags: |
index bf63e62e9a68b9d4a73e01b355f1fb98475e8936..6a6d741e255a51e91f88f4537b6e89cee4bcab75 100644 (file)
@@ -1,5 +1,5 @@
 # build stage
-FROM node:lts-alpine as build-stage
+FROM node:lts-alpine3.19 as build-stage
 
 WORKDIR /app
 
@@ -10,7 +10,7 @@ COPY . .
 RUN yarn build
 
 # production stage
-FROM alpine:3.18
+FROM alpine:3.19
 
 ENV GID 1000
 ENV UID 1000