File tree 4 files changed +18
-2
lines changed
4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 15
15
- name : Check out the repo
16
16
uses : actions/checkout@v3
17
17
18
+ - name : Set up QEMU
19
+ uses : docker/setup-qemu-action@v3
20
+
21
+ - name : Set up Docker Buildx
22
+ id : buildx
23
+ uses : docker/setup-buildx-action@v3
24
+
18
25
- name : Log in to Docker Hub
19
26
uses : docker/login-action@v2
20
27
with :
27
34
push : true
28
35
tags : beclab/fsnotify-daemon:${{ github.event.inputs.tags }}
29
36
file : docker/Dockerfile.daemon
37
+ platforms : linux/amd64, linux/arm64
30
38
Original file line number Diff line number Diff line change 15
15
- name : Check out the repo
16
16
uses : actions/checkout@v3
17
17
18
+ - name : Set up QEMU
19
+ uses : docker/setup-qemu-action@v3
20
+
21
+ - name : Set up Docker Buildx
22
+ id : buildx
23
+ uses : docker/setup-buildx-action@v3
24
+
18
25
- name : Log in to Docker Hub
19
26
uses : docker/login-action@v2
20
27
with :
27
34
push : true
28
35
tags : beclab/fsnotify-proxy:${{ github.event.inputs.tags }}
29
36
file : docker/Dockerfile.proxy
37
+ platforms : linux/amd64, linux/arm64
30
38
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN cd bytetrade.io/web3os/fs-lib && \
16
16
go mod tidy
17
17
18
18
RUN cd bytetrade.io/web3os/fs-lib && \
19
- CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -o fsnotify-daemon k8s/cmd/fsnotify-daemon/main.go
19
+ CGO_ENABLED=1 go build -a -o fsnotify-daemon k8s/cmd/fsnotify-daemon/main.go
20
20
21
21
# Use distroless as minimal base image to package the manager binary
22
22
# Refer to https://github.com/GoogleContainerTools/distroless for more details
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ RUN cd bytetrade.io/web3os/fs-lib && \
15
15
go mod tidy
16
16
17
17
RUN cd bytetrade.io/web3os/fs-lib && \
18
- CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -o fsnotify-proxy k8s/cmd/fsnotify-proxy/main.go
18
+ CGO_ENABLED=1 go build -a -o fsnotify-proxy k8s/cmd/fsnotify-proxy/main.go
19
19
20
20
# Use distroless as minimal base image to package the manager binary
21
21
# Refer to https://github.com/GoogleContainerTools/distroless for more details
You can’t perform that action at this time.
0 commit comments