diff --git a/.goreleaser.yml b/.goreleaser.yml index 05e4691..14768fb 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,6 +2,21 @@ before: hooks: - go mod download +dockers: + - + image_templates: + - "justmiles/go-markdown2confluence:latest" + - "justmiles/go-markdown2confluence:{{ .Tag }}" + - "justmiles/go-markdown2confluence:v{{ .Major }}" + build_flag_templates: + - "--label=org.opencontainers.image.created={{.Date}}" + - "--label=org.opencontainers.image.title={{.ProjectName}}" + - "--label=org.opencontainers.image.revision={{.FullCommit}}" + - "--label=org.opencontainers.image.version={{.Version}}" + - "--build-arg=VERSION={{ .Tag }}" + - "--platform=linux/arm64" + dockerfile: .goreleaser.dockerfile + builds: - env: - CGO_ENABLED=0 diff --git a/README.md b/README.md index 9665cc6..80183f0 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ Push markdown files to Confluence Cloud +[![Build Status](https://drone.justmiles.io/api/badges/justmiles/go-markdown2confluence/status.svg)](https://drone.justmiles.io/justmiles/go-markdown2confluence) + ## Installation Download the [latest