Explorar el Código

goreleaser build Docker image

jamesread hace 5 años
padre
commit
32f4c62907
Se han modificado 1 ficheros con 6 adiciones y 4 borrados
  1. 6 4
      .goreleaser.yml

+ 6 - 4
.goreleaser.yml

@@ -69,12 +69,14 @@ archives:
         format: zip
 
 dockers:
-  - dockerfile: Dockerfile
+  - image_templates:
+      - "docker.io/jamesread/olivetin:latest"
+      - "docker.io/jamesread/olivetin:{{ .Tag }}"
+    dockerfile: Dockerfile
     goos: linux
-    goarch: amd64
     skip_push: true
-    build_flag_templates:
-      - "--platform=linux/arm64"
+    extra_files:
+      - webui
 
 nfpms:
   - maintainer: James Read <contact@jread.com>