Skip to content

Bump golang to 1.22 and alpine to 1.19 #148

Bump golang to 1.22 and alpine to 1.19

Bump golang to 1.22 and alpine to 1.19 #148

name: pr_build
on:
pull_request:
paths:
- '*'
- '*/**'
- '!README.md'
- '!.tool-versions'
- '!COPYING.LGPL-3'
- '!.gitattributes'
- '!.gitignore'
jobs:
build-image:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: wistia/parse-tool-versions@v1.0
- uses: earthly/actions-setup@v1
with: { version: "v${{ env.EARTHLY_TOOL_VERSION }}" }
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# intentionally avoiding --push, this is just
# to test the command
- run: ./earthly +build-image-multiarch
release-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: wistia/parse-tool-versions@v1.0
- uses: earthly/actions-setup@v1
with: { version: "v${{ env.EARTHLY_TOOL_VERSION }}" }
# intentionally avoiding --push, this is just
# to test the command
- run: ./earthly +release-binaries
skaffold:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: wistia/parse-tool-versions@v1.0
- uses: earthly/actions-setup@v1
with: { version: "v${{ env.EARTHLY_TOOL_VERSION }}" }
- name: start minikube
uses: hiberbee/github-action-minikube@1.7.0
- name: setup helm
uses: hiberbee/github-action-helm@1.13.0
- name: run skaffold
uses: hiberbee/github-action-skaffold@1.24.0
with:
skaffold-version: "${{ env.SKAFFOLD_TOOL_VERSION }}"
command: run