Skip to content

Commit

Permalink
patch: add amd64 v1 support container image
Browse files Browse the repository at this point in the history
Signed-off-by: Ardika Bagus <[email protected]>
  • Loading branch information
ardikabs committed Nov 7, 2023
1 parent 4c06e16 commit dc3f435
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: ./.github/workflows/test.yaml

release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- test
steps:
Expand All @@ -28,12 +28,6 @@ jobs:
with:
go-version: ^1.21.x

- name: Get Tag
id: tag
uses: devops-actions/[email protected]
with:
strip_v: true

- uses: docker/setup-qemu-action@v2

- name: Log in to the GitHub Container registry
Expand All @@ -48,6 +42,6 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
audit:
name: Auditing the code
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
3 changes: 0 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ builds:
goarch:
- amd64
- arm64
goarm:
- "6"
- "7"
ldflags:
- -X github.com/ardikabs/{{ .ProjectName }}/cmd.Version={{.Version}}
- -X github.com/ardikabs/{{ .ProjectName }}/cmd.GitCommit={{.Commit}}
Expand Down

0 comments on commit dc3f435

Please sign in to comment.