Skip to content

Commit

Permalink
More test for all platform supports
Browse files Browse the repository at this point in the history
  • Loading branch information
alperencelik committed Jan 7, 2024
1 parent 1ab83ec commit 4112851
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ on:
- '*'

jobs:
# verify:
# runs-on: ubuntu-latest
# steps:
# - name: Set up Go
# uses: actions/setup-go@v2
# with:
# go-version: 1.21
verify:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21

# - name: Check out code
# uses: actions/checkout@v2
- name: Check out code
uses: actions/checkout@v2

# - name: Run mage.go
# run: go run mage.go
- name: Run mage.go
run: go run mage.go

release:
# needs: verify
needs: verify
runs-on: ubuntu-latest
steps:
- name: Set up Go
Expand Down
10 changes: 8 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,21 @@ release:
github:
owner: "alperencelik"
name: "kubemox"
disable: true
disable: false

kos:
- id: kubemox-image
build: kubemox
main: ./cmd/...
base_image: ghcr.io/distroless/static:latest
platforms:
- all
- linux/amd64
- linux/arm64
- darwin/amd64
- darwin/arm64
- windows/amd64
- windows/arm64
# - all
ldflags:
- -extldflags "-static"
- -s
Expand Down

0 comments on commit 4112851

Please sign in to comment.