Skip to content

Commit

Permalink
chore: upgrade to go 1.22
Browse files Browse the repository at this point in the history
upgrade images

related to jenkins-x/jx#8670

Signed-off-by: Mårten Svantesson <[email protected]>
  • Loading branch information
msvticket committed Jun 24, 2024
1 parent c5f7b2b commit 47d25d2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/jenkins-x-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ jobs:
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: jx-variables
uses: docker://ghcr.io/jenkins-x/jx-boot:3.2.157
uses: docker://ghcr.io/jenkins-x/jx-boot:3.10.150
with:
args: gitops variables
entrypoint: jx
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: build-make-linux
uses: docker://golang:1.19.5
uses: docker://golang:1.22.3
with:
args: -c "make linux"
entrypoint: /bin/sh
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: build-make-test
uses: docker://golang:1.19.5
uses: docker://golang:1.22.3
with:
args: -c "make test"
entrypoint: /bin/sh
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/jenkins-x-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GIT_BOT_TOKEN }}
VERSION: ${{ steps.prep.outputs.version }}
name: release-binary
uses: docker://golang:1.19.5
uses: docker://golang:1.22.3
with:
args: -c "make release"
entrypoint: bash
Expand All @@ -31,15 +31,15 @@ jobs:
REPO_NAME: ${{ github.event.repository.name }}
VERSION: ${{ steps.prep.outputs.version }}
name: changelog
uses: docker://ghcr.io/jenkins-x/jx-changelog:0.0.43
uses: docker://ghcr.io/jenkins-x/jx-boot:3.10.150
with:
entrypoint: .github/workflows/jenkins-x/changelog.sh
- env:
GITHUB_TOKEN: ${{ secrets.GIT_BOT_TOKEN }}
REPOSITORY: ${{ github.repository }}
VERSION: ${{ steps.prep.outputs.version }}
name: upload-binaries
uses: docker://goreleaser/goreleaser:v1.8.3
uses: docker://ghcr.io/jenkins-x/jx-goreleaser-image:0.2.2@sha256:77a7c9b281e8dba01f77d0d46c5bd9834a7bd435570f3396a03bfe63554f03f0
with:
entrypoint: .github/workflows/jenkins-x/upload-binaries.sh
- name: Set up QEMU
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
VERSION: ${{ steps.prep.outputs.version }}
XDG_CONFIG_HOME: /github/home/.config
name: promote-release
uses: docker://ghcr.io/jenkins-x/jx-updatebot:0.0.84
uses: docker://ghcr.io/jenkins-x/jx-updatebot:0.4.22
with:
entrypoint: jx-updatebot
args: pr --git-credentials
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/jenkins-x/upload-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ git push origin v$VERSION
export BRANCH=$(git rev-parse --abbrev-ref HEAD)
export BUILDDATE=$(date)
export REV=$(git rev-parse HEAD)
export GOVERSION="1.17.9"
export GOVERSION="1.22.3"
export ROOTPACKAGE="github.com/$REPOSITORY"

# Install syft in this script
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | \
sh -s -- -b /usr/local/bin v0.54.0
chmod +x /usr/local/bin/syft

goreleaser release
2 changes: 1 addition & 1 deletion Dockerfile-preview
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM ghcr.io/jenkins-x/jx-boot:3.2.199
FROM ghcr.io/jenkins-x/jx-boot:3.10.150

COPY ./build/linux/jx-promote /usr/bin/jx-promote

0 comments on commit 47d25d2

Please sign in to comment.