Skip to content

Commit

Permalink
feat: for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
oppara committed Jun 21, 2022
1 parent 221f5bb commit e4f6cc2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- 'master'
- 'arm'
tags:
- '*'

Expand Down Expand Up @@ -44,3 +45,4 @@ jobs:
${{ steps.meta.outputs.tags }}
secrets: |
"github_token=${{ secrets.GITHUB_TOKEN }}"
platforms: linux/amd64,linux/arm64
15 changes: 14 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,23 @@ release:
owner: vulsio
name: go-cve-dictionary
builds:
- goos:
- id: linux-amd64
goos:
- linux
goarch:
- amd64
env:
- CC=x86_64-linux-gnu-gcc
main: .
ldflags: -s -w -X github.com/vulsio/go-cve-dictionary/config.Version={{.Version}} -X github.com/vulsio/go-cve-dictionary/config.Revision={{.Commit}}
binary: go-cve-dictionary
- id: linux-arm64
goos:
- linux
goarch:
- arm65
env:
- CC=aarch64-linux-gnu-gcc
main: .
ldflags: -s -w -X github.com/vulsio/go-cve-dictionary/config.Version={{.Version}} -X github.com/vulsio/go-cve-dictionary/config.Revision={{.Commit}}
binary: go-cve-dictionary
Expand Down

0 comments on commit e4f6cc2

Please sign in to comment.