Ver Fonte

goreleaser build Docker image

jamesread há 5 anos atrás
pai
commit
32f4c62907
1 ficheiros alterados com 6 adições e 4 exclusões
  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>