Skip to content

Commit

Permalink
Fix earthlfile
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka committed Apr 17, 2024
1 parent 6741dc7 commit 1a19999
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
matrix:
# Match this version to the maintained FIPS version in packages at https://github.com/kairos-io/packages/blob/main/packages/toolchain-go/collection.yaml#L63
go-version: [ "1.19.10-bookworm", "1.20-bookworm", "1.21-bookworm" ]
go-version: [ "1.19.10", "1.20", "1.21" ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
5 changes: 3 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION 0.7

# renovate: datasource=docker depName=golang
ARG --global GO_VERSION=1.20-bookworm
ARG --global GO_VERSION=1.20
# renovate: datasource=docker depName=golangci-lint
ARG --global GOLINT_VERSION=v1.51
# renovate: datasource=docker depName=quay.io/luet/base
Expand All @@ -13,7 +13,7 @@ luet:

go-deps:
ARG GO_VERSION
FROM golang:$GO_VERSION
FROM golang:$GO_VERSION-alpine
WORKDIR /build
COPY go.mod go.sum ./
RUN go mod download
Expand All @@ -22,6 +22,7 @@ go-deps:

test:
FROM +go-deps
ENV CGO_ENABLED=0
WORKDIR /build
COPY +luet/luet /usr/bin/luet
COPY . .
Expand Down

0 comments on commit 1a19999

Please sign in to comment.