diff --git a/.github/workflows/docker-cd.yaml b/.github/workflows/docker-cd.yaml index 4125354..94664cd 100644 --- a/.github/workflows/docker-cd.yaml +++ b/.github/workflows/docker-cd.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Extract tag run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Login to Docker Hub @@ -24,11 +24,11 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile diff --git a/Dockerfile b/Dockerfile index 53a06aa..3f24b54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18 AS build-env +FROM node:20 AS build-env WORKDIR /app @@ -9,7 +9,7 @@ RUN yarn install --frozen-lockfile --network-timeout 1000000 COPY . . RUN yarn build -FROM node:18 AS runtime-env +FROM node:20 AS runtime-env WORKDIR /app