Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Update Goreleaser file to publish checksums and changelog consistently #110

Merged
merged 3 commits into from
Mar 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
build-docker:
name: "Build Docker image"
runs-on: ubuntu-latest
needs: build-binary
env:
IMAGE_NAME: ${{ github.repository }}

Expand Down
13 changes: 3 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ archives:
- README.md

checksum:
name_template: 'checksums.txt'
algorithm: sha256

changelog:
use: github
use: github-native
sort: asc
groups:
- title: Features
Expand All @@ -65,14 +65,7 @@ changelog:
order: 4
- title: 'Other changes'
order: 999
filters:
exclude:
- '^docs'
- '^test'
- '^ci'
- '^refactor'
- '^revert'
- '^style'


release:
github:
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
FROM golang:1.18-alpine AS builder

# Install minimum necessary dependencies
ENV PACKAGES make git bash linux-headers
ENV PACKAGES make git bash linux-headers findutils
RUN apk update && apk add --no-cache $PACKAGES

# Set working directory for the build
Expand All @@ -15,7 +15,7 @@ WORKDIR /builder
COPY . .

# Build did-resolver binary
RUN make build
RUN make tidy && make build

#####################################################################
### STAGE 2: Build cheqd did-resolver container image ###
Expand Down