mirror of
https://github.com/distribution/distribution.git
synced 2025-04-28 11:25:14 +00:00
ci: fix GHA CI build matrix (#4436)
This commit is contained in:
commit
c427f84503
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -22,13 +22,19 @@ permissions:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
env:
|
||||
# Setting GOTOOLCHAIN to local tells go
|
||||
# to to use the bundled Go version rather
|
||||
# than fetching the toolchain according to
|
||||
# toolchain directive found in go.mod.
|
||||
GOTOOLCHAIN: local
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go:
|
||||
- 1.21.12
|
||||
- 1.22.5
|
||||
- 1.22.8
|
||||
- 1.23.2
|
||||
target:
|
||||
- test-coverage
|
||||
- test-cloud-storage
|
||||
|
@ -1,6 +1,6 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG GO_VERSION=1.22.5
|
||||
ARG GO_VERSION=1.23.2
|
||||
ARG ALPINE_VERSION=3.20
|
||||
ARG XX_VERSION=1.2.1
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG GO_VERSION=1.22.5
|
||||
ARG GO_VERSION=1.23.2
|
||||
ARG ALPINE_VERSION=3.20
|
||||
|
||||
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base
|
||||
|
@ -1,6 +1,6 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG GO_VERSION=1.22.5
|
||||
ARG GO_VERSION=1.23.2
|
||||
ARG ALPINE_VERSION=3.20
|
||||
|
||||
FROM alpine:${ALPINE_VERSION} AS base
|
||||
|
@ -1,6 +1,6 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG GO_VERSION=1.22.5
|
||||
ARG GO_VERSION=1.23.2
|
||||
ARG ALPINE_VERSION=3.20
|
||||
ARG GOLANGCI_LINT_VERSION=v1.60.3
|
||||
ARG BUILDTAGS=""
|
||||
|
@ -1,6 +1,6 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG GO_VERSION=1.22.5
|
||||
ARG GO_VERSION=1.23.2
|
||||
ARG ALPINE_VERSION=3.20
|
||||
ARG MODOUTDATED_VERSION=v0.8.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user