File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -21,22 +21,29 @@ jobs:
21
21
- name : Checkout repository
22
22
uses : actions/checkout@v3
23
23
24
+ - name : Set up QEMU
25
+ uses : docker/setup-qemu-action@v3
26
+
27
+ - name : Set up Docker Buildx
28
+ uses : docker/setup-buildx-action@v3
29
+
24
30
- name : Log in to the Container registry
25
- uses : docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
31
+ uses : docker/login-action@v3
26
32
with :
27
33
registry : ${{ env.REGISTRY }}
28
34
username : ${{ github.actor }}
29
35
password : ${{ secrets.GITHUB_TOKEN }}
30
36
31
37
- name : Extract metadata (tags, labels) for Docker
32
38
id : meta
33
- uses : docker/metadata-action@507c2f2dc502c992ad446e3d7a5dfbe311567a96
39
+ uses : docker/metadata-action@v5
34
40
with :
35
41
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
36
42
37
43
- name : Build and push Docker image
38
- uses : docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
44
+ uses : docker/build-push-action@v6
39
45
with :
46
+ platforms : linux/amd64,linux/arm64
40
47
context : .
41
48
push : true
42
49
tags : ${{ steps.meta.outputs.tags }}
Original file line number Diff line number Diff line change 1
1
FROM node:18
2
2
3
- ENV RUNTIME_ENV container
3
+ ENV RUNTIME_ENV= container
4
4
5
5
RUN useradd -u 3000 recv
6
6
You can’t perform that action at this time.
0 commit comments