Skip to content

Commit

Permalink
Update build build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bastienwirtz committed Mar 8, 2024
1 parent 4d30ab4 commit dad372b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build stage
FROM node:lts-alpine as build-stage
FROM node:lts-alpine3.19 as build-stage

WORKDIR /app

Expand All @@ -10,7 +10,7 @@ COPY . .
RUN yarn build

# production stage
FROM alpine:3.18
FROM alpine:3.19

ENV GID 1000
ENV UID 1000
Expand Down

0 comments on commit dad372b

Please sign in to comment.