Skip to content

Commit

Permalink
Add golang 1.17 and 1.18 (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen authored Apr 13, 2022
1 parent 7ce8af8 commit e04ce39
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 2 deletions.
35 changes: 34 additions & 1 deletion .github/workflows/build-podman.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
ghcr-token: ${{ secrets.GHCR_TOKEN }}
build-args: "GOLANG_VERSION=1.12.10"

BuildGo16:
needs: BuildBase
runs-on: ubuntu-20.04
Expand All @@ -63,6 +62,40 @@ jobs:
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
ghcr-token: ${{ secrets.GHCR_TOKEN }}
build-args: "GOLANG_VERSION=1.16.8"
BuildGo17:
needs: BuildBase
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build Go 1.17 agent
uses: ./.github/actions/build
with:
context: go
dockerfile: go/podman/Dockerfile
image-name: builder-go
tag-suffix: -1.17-podman
platforms: linux/amd64
docker-namespace: ${{ secrets.DOCKER_HUB_USER }}
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
ghcr-token: ${{ secrets.GHCR_TOKEN }}
build-args: "GOLANG_VERSION=1.17.8"
BuildGo18:
needs: BuildBase
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build Go 1.18 agent
uses: ./.github/actions/build
with:
context: go
dockerfile: go/podman/Dockerfile
image-name: builder-go
tag-suffix: -1.18-podman
platforms: linux/amd64
docker-namespace: ${{ secrets.DOCKER_HUB_USER }}
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
ghcr-token: ${{ secrets.GHCR_TOKEN }}
build-args: "GOLANG_VERSION=1.18"

BuildMaven:
needs: BuildBase
Expand Down
35 changes: 34 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
ghcr-token: ${{ secrets.GHCR_TOKEN }}
build-args: "GOLANG_VERSION=1.12.10"

BuildGo16:
needs: BuildBase
runs-on: ubuntu-20.04
Expand All @@ -61,6 +60,40 @@ jobs:
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
ghcr-token: ${{ secrets.GHCR_TOKEN }}
build-args: "GOLANG_VERSION=1.16.8"
BuildGo17:
needs: BuildBase
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build Go 1.17 agent
uses: ./.github/actions/build
with:
context: go
dockerfile: go/Dockerfile
image-name: builder-go
tag-suffix: -1.17
platforms: linux/amd64,linux/arm64
docker-namespace: ${{ secrets.DOCKER_HUB_USER }}
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
ghcr-token: ${{ secrets.GHCR_TOKEN }}
build-args: "GOLANG_VERSION=1.17.8"
BuildGo18:
needs: BuildBase
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build Go 1.18 agent
uses: ./.github/actions/build
with:
context: go
dockerfile: go/Dockerfile
image-name: builder-go
tag-suffix: -1.18
platforms: linux/amd64,linux/arm64
docker-namespace: ${{ secrets.DOCKER_HUB_USER }}
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
ghcr-token: ${{ secrets.GHCR_TOKEN }}
build-args: "GOLANG_VERSION=1.18"

BuildMaven:
needs: BuildBase
Expand Down

0 comments on commit e04ce39

Please sign in to comment.