diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 2fbb5c3..4c52172 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -101,4 +101,11 @@ dockers: - "wneessen/apg-go:{{ .Tag }}" - "wneessen/apg-go:v{{ .Major }}" - "wneessen/apg-go:v{{ .Major }}.{{ .Minor }}" - - "wneessen/apg-go:latest" \ No newline at end of file + - "wneessen/apg-go:latest" + build_flag_templates: + - "--pull" + - "--network=host" + - "--label=org.opencontainers.image.created={{.Date}}" + - "--label=org.opencontainers.image.title={{.ProjectName}}" + - "--label=org.opencontainers.image.revision={{.FullCommit}}" + - "--label=org.opencontainers.image.version={{.Version}}" \ No newline at end of file