Skip to content

fix: push multi-arch images with correct platform #16

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

Merged
merged 4 commits into from
Jul 17, 2025
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
10 changes: 6 additions & 4 deletions .github/workflows/enterprise-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
# Necessary for Docker manifest
DOCKER_CLI_EXPERIMENTAL: "enabled"
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -43,15 +44,16 @@ jobs:
run: git fetch --tags --force

- name: Docker Login
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/setup-go@v3
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "^1.21.9"
go-version: "^1.24.5"

- name: Build binaries
run: |
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/enterprise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- name: Checkout
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "^1.21.9"
go-version: "^1.24.5"

- name: Echo Go Cache Paths
id: go-cache-paths
Expand All @@ -46,13 +49,13 @@ jobs:
echo "::set-output name=go-mod::$(go env GOMODCACHE)"

- name: Go Build Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.go-cache-paths.outputs.go-build }}
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.**', '**.go') }}

- name: Go Mod Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.go-cache-paths.outputs.go-mod }}
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gen.yml → .github/workflows/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ permissions:
jobs:
handler-elf:
name: handler-elf
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Run make
run: make
Expand Down
55 changes: 31 additions & 24 deletions .github/workflows/quality.yml → .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ permissions:
jobs:
fmt-go:
name: fmt/go
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: "^1.21.9"
go-version: "^1.24.5"

- name: Run make fmt/go
run: make fmt/go
Expand All @@ -46,15 +46,15 @@ jobs:

fmt-prettier:
name: fmt/prettier
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"

- name: Install prettier
run: npm install --global prettier
Expand All @@ -67,20 +67,19 @@ jobs:

lint-go:
name: lint/go
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: "^1.21.9"
go-version: "^1.24.5"

- name: Install golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \
| sh -s -- -b $(go env GOPATH)/bin v1.57.2
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.8

# Linting needs to be done on each build variation of GOOS.
- name: Run make lint/go/linux
Expand All @@ -92,13 +91,21 @@ jobs:

test-go:
name: "test/go"
runs-on: ubuntu-latest
strategy:
matrix:
runs-on:
- ubuntu-24.04
- ubuntu-24.04-arm # arm64
runs-on: ${{ matrix.runs-on }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- name: Checkout
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "^1.21.9"
go-version: "^1.24.5"

- name: Echo Go Cache Paths
id: go-cache-paths
Expand All @@ -107,13 +114,13 @@ jobs:
echo "::set-output name=go-mod::$(go env GOMODCACHE)"

- name: Go Build Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.go-cache-paths.outputs.go-build }}
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.**', '**.go') }}

- name: Go Mod Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.go-cache-paths.outputs.go-mod }}
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
Expand All @@ -123,10 +130,10 @@ jobs:

lint-c:
name: lint/c
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Run make lint/c
run: make lint/c
Expand All @@ -141,10 +148,10 @@ jobs:

lint-shellcheck:
name: lint/shellcheck
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install shellcheck
run: sudo apt install -y shellcheck
Expand Down
Loading
Loading