Pārlūkot izejas kodu

goreleaser build Docker image

jamesread 5 gadi atpakaļ
vecāks
revīzija
32f4c62907
1 mainītis faili ar 6 papildinājumiem un 4 dzēšanām
  1. 6 4
      .goreleaser.yml

+ 6 - 4
.goreleaser.yml

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