Skip to content

Commit d3332ca

Browse files
committed
chore: fix ci
1 parent 9b4579c commit d3332ca

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929

3030
- name: Set up QEMU
31-
uses: docker/setup-qemu-action@v2
31+
uses: docker/setup-qemu-action@v3
3232

3333
- name: Set up Docker Buildx
34-
uses: docker/setup-buildx-action@v2
34+
uses: docker/setup-buildx-action@v3
3535

3636
# Login against a Docker registry except on PR
3737
# https://github.com/docker/login-action
3838
- name: Log into registry ${{ env.REGISTRY }}
3939
if: github.event_name != 'pull_request'
40-
uses: docker/login-action@v2
40+
uses: docker/login-action@v3
4141
with:
4242
registry: ${{ env.REGISTRY }}
4343
username: ${{ github.actor }}
@@ -46,7 +46,7 @@ jobs:
4646
# Build and export Docker image for tests
4747
# https://github.com/docker/build-push-action
4848
- name: Build and export to Docker
49-
uses: docker/build-push-action@v4
49+
uses: docker/build-push-action@v6
5050
with:
5151
context: .
5252
load: true
@@ -76,14 +76,14 @@ jobs:
7676
# https://github.com/docker/metadata-action
7777
- name: Extract Docker metadata
7878
id: meta
79-
uses: docker/metadata-action@v3
79+
uses: docker/metadata-action@v5
8080
with:
8181
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
8282

8383
# Build and push Docker image with Buildx (don't push on PR)
8484
# https://github.com/docker/build-push-action
8585
- name: Build and push Docker image
86-
uses: docker/build-push-action@v4
86+
uses: docker/build-push-action@v6
8787
with:
8888
context: .
8989
platforms: linux/amd64,linux/arm64

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ ENV NODE_ENV production
2323
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
2424
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
2525

26+
ENV XDG_CONFIG_HOME=/tmp/.chromium
27+
ENV XDG_CACHE_HOME=/tmp/.chromium
28+
2629
COPY --chown=node:node package.json package-lock.json ./
2730

2831
RUN chown -R node:node /home/node

0 commit comments

Comments
 (0)