Skip to content

Commit

Permalink
add docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
justmiles committed Jan 29, 2023
1 parent f621355 commit d15a94f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d15a94f

Please sign in to comment.