Explorar el Código

👷 Added Docker CI

itspooya hace 1 año
padre
commit
20a55c086e
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      Dockerfile

+ 3 - 2
Dockerfile

@@ -2,7 +2,8 @@
 ARG TARGETARCH
 ARG TARGETOS
 FROM golang:1.20 as builder
-
+ARG TARGETARCH
+ARG TARGETOS
 # Set up the working directory
 WORKDIR /app
 
@@ -20,7 +21,7 @@ RUN CGO_ENABLED=1 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o xui-release-
 FROM ubuntu:20.04
 
 ARG TARGETARCH
-
+ARG TARGETOS
 # Set up the working directory
 WORKDIR /app