Skip to content

Commit

Permalink
Merge pull request #42 from santhoshdaivajna/kairos-2.2.0-v3
Browse files Browse the repository at this point in the history
kairos v2.2.0 update
  • Loading branch information
rishi-anand authored Jun 20, 2023
2 parents be1390e + b683348 commit 874492f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
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
rke2-version:
- v1.26.4+rke2r1
- v1.25.3+rke2r1
- v1.25.2+rke2r1
- v1.25.0+rke2r1
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,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
rke2-version:
- v1.26.4+rke2r1
- v1.25.2+rke2r1
- v1.24.6+rke2r1
- v1.23.12+rke2r1
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 RKE2_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 @@ -37,7 +37,7 @@ BUILD_GOLANG:
ARG BIN
ARG SRC

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

0 comments on commit 874492f

Please sign in to comment.