Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit 37966c5

Browse files
author
Antonio Cheong
committed
update workflow version
1 parent dad24b4 commit 37966c5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/buildx.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
steps:
1212
-
1313
name: Checkout
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515
-
1616
name: Prepare
1717
id: prepare
1818
run: |
1919
DOCKER_IMAGE=windoac/nginx-npm
20-
DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64/v8
20+
DOCKER_PLATFORMS=linux/amd64,linux/arm64/v8
2121
VERSION=edge
2222
2323
if [[ $GITHUB_REF == refs/tags/* ]]; then
@@ -39,11 +39,11 @@ jobs:
3939
# https://github.com/docker/setup-qemu-action
4040
-
4141
name: Set up QEMU
42-
uses: docker/setup-qemu-action@v1
42+
uses: docker/setup-qemu-action@v2
4343
# https://github.com/docker/setup-buildx-action
4444
-
4545
name: Set up Docker Buildx
46-
uses: docker/setup-buildx-action@v1
46+
uses: docker/setup-buildx-action@v2
4747
# with:
4848
# cache-from: type=gha
4949
# cache-to: type=gha,mode=max
@@ -54,7 +54,7 @@ jobs:
5454
-
5555
name: Login to DockerHub
5656
if: success() && github.event_name != 'pull_request'
57-
uses: docker/login-action@v1
57+
uses: docker/login-action@v2
5858
with:
5959
username: ${{ secrets.DOCKER_USERNAME }}
6060
password: ${{ secrets.DOCKER_PASSWORD }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM nginx:latest
22

3-
ADD rootfs/ /
3+
COPY rootfs/ /
44

55
RUN mkdir -p /tmp/nginx/body /var/lib/nginx/cache /data/logs \
66
&& mkdir -p /etc/letsencrypt/live/placeholder /data/nginx/placeholder /data/custom_ssl/placeholder \

0 commit comments

Comments
 (0)