Skip to content
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

kairos v2.2.0 update #52

Merged
merged 1 commit into from
Jun 20, 2023
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
7 changes: 4 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
strategy:
matrix:
base-image:
- quay.io/kairos/core-opensuse-leap:v2.0.3
- quay.io/kairos/core-ubuntu-20-lts:v2.0.3
- quay.io/kairos/core-ubuntu-22-lts:v2.0.3
- quay.io/kairos/core-opensuse-leap:v2.2.0
- quay.io/kairos/core-ubuntu-20-lts:v2.2.0
- quay.io/kairos/core-ubuntu-22-lts:v2.2.0
k3s-version:
- v1.26.4+k3s1
- v1.25.2+k3s1
- v1.25.0+k3s1
- v1.24.6+k3s1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
strategy:
matrix:
base-image:
- quay.io/kairos/core-opensuse-leap:v2.0.3
- quay.io/kairos/core-ubuntu-20-lts:v2.0.3
- quay.io/kairos/core-ubuntu-22-lts:v2.0.3
- quay.io/kairos/core-opensuse-leap:v2.2.0
- quay.io/kairos/core-ubuntu-20-lts:v2.2.0
- quay.io/kairos/core-ubuntu-22-lts:v2.2.0
k3s-version:
- v1.25.0+k3s1
steps:
Expand Down
8 changes: 4 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
VERSION 0.6
FROM alpine

ARG BASE_IMAGE=quay.io/kairos/core-opensuse-leap:latest
ARG BASE_IMAGE=quay.io/kairos/core-opensuse-leap:v2.2.0
ARG IMAGE_REPOSITORY=quay.io/kairos

ARG LUET_VERSION=0.34.0
ARG GOLINT_VERSION=v1.52.2
ARG GOLANG_VERSION=1.19.8
ARG GOLANG_VERSION=1.19.10

ARG K3S_VERSION=latest
ARG BASE_IMAGE_NAME=$(echo $BASE_IMAGE | grep -o [^/]*: | rev | cut -c2- | rev)
Expand All @@ -26,7 +26,7 @@ go-deps:
WORKDIR /build
COPY go.mod go.sum ./
RUN go mod download
RUN apt-get update && apt-get install -y upx
RUN apt-get update
SAVE ARTIFACT go.mod AS LOCAL go.mod
SAVE ARTIFACT go.sum AS LOCAL go.sum

Expand All @@ -39,7 +39,7 @@ BUILD_GOLANG:

ENV CGO_ENABLED=0

RUN go build -ldflags "-s -w" -o ${BIN} ./${SRC} && upx ${BIN}
RUN go build -ldflags "-s -w" -o ${BIN} ./${SRC}
SAVE ARTIFACT ${BIN} ${BIN} AS LOCAL build/${BIN}

VERSION:
Expand Down