Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

feat: add keyway docker command for Docker secrets injection #43

feat: add keyway docker command for Docker secrets injection

feat: add keyway docker command for Docker secrets injection #43

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Download dependencies
run: go mod download
- name: Run tests
run: go test -v -race -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
build:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin, windows]
goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: 0
run: |
go build -ldflags="-s -w" -o keyway-${{ matrix.goos }}-${{ matrix.goarch }} ./cmd/keyway
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: keyway-${{ matrix.goos }}-${{ matrix.goarch }}
path: keyway-${{ matrix.goos }}-${{ matrix.goarch }}