Skip to content

Commit e04ce39

Browse files
authored
Add golang 1.17 and 1.18 (#70)
1 parent 7ce8af8 commit e04ce39

File tree

2 files changed

+68
-2
lines changed

2 files changed

+68
-2
lines changed

.github/workflows/build-podman.yaml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
4646
ghcr-token: ${{ secrets.GHCR_TOKEN }}
4747
build-args: "GOLANG_VERSION=1.12.10"
48-
4948
BuildGo16:
5049
needs: BuildBase
5150
runs-on: ubuntu-20.04
@@ -63,6 +62,40 @@ jobs:
6362
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
6463
ghcr-token: ${{ secrets.GHCR_TOKEN }}
6564
build-args: "GOLANG_VERSION=1.16.8"
65+
BuildGo17:
66+
needs: BuildBase
67+
runs-on: ubuntu-20.04
68+
steps:
69+
- uses: actions/checkout@v2
70+
- name: Build Go 1.17 agent
71+
uses: ./.github/actions/build
72+
with:
73+
context: go
74+
dockerfile: go/podman/Dockerfile
75+
image-name: builder-go
76+
tag-suffix: -1.17-podman
77+
platforms: linux/amd64
78+
docker-namespace: ${{ secrets.DOCKER_HUB_USER }}
79+
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
80+
ghcr-token: ${{ secrets.GHCR_TOKEN }}
81+
build-args: "GOLANG_VERSION=1.17.8"
82+
BuildGo18:
83+
needs: BuildBase
84+
runs-on: ubuntu-20.04
85+
steps:
86+
- uses: actions/checkout@v2
87+
- name: Build Go 1.18 agent
88+
uses: ./.github/actions/build
89+
with:
90+
context: go
91+
dockerfile: go/podman/Dockerfile
92+
image-name: builder-go
93+
tag-suffix: -1.18-podman
94+
platforms: linux/amd64
95+
docker-namespace: ${{ secrets.DOCKER_HUB_USER }}
96+
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
97+
ghcr-token: ${{ secrets.GHCR_TOKEN }}
98+
build-args: "GOLANG_VERSION=1.18"
6699

67100
BuildMaven:
68101
needs: BuildBase

.github/workflows/build.yaml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
4444
ghcr-token: ${{ secrets.GHCR_TOKEN }}
4545
build-args: "GOLANG_VERSION=1.12.10"
46-
4746
BuildGo16:
4847
needs: BuildBase
4948
runs-on: ubuntu-20.04
@@ -61,6 +60,40 @@ jobs:
6160
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
6261
ghcr-token: ${{ secrets.GHCR_TOKEN }}
6362
build-args: "GOLANG_VERSION=1.16.8"
63+
BuildGo17:
64+
needs: BuildBase
65+
runs-on: ubuntu-20.04
66+
steps:
67+
- uses: actions/checkout@v2
68+
- name: Build Go 1.17 agent
69+
uses: ./.github/actions/build
70+
with:
71+
context: go
72+
dockerfile: go/Dockerfile
73+
image-name: builder-go
74+
tag-suffix: -1.17
75+
platforms: linux/amd64,linux/arm64
76+
docker-namespace: ${{ secrets.DOCKER_HUB_USER }}
77+
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
78+
ghcr-token: ${{ secrets.GHCR_TOKEN }}
79+
build-args: "GOLANG_VERSION=1.17.8"
80+
BuildGo18:
81+
needs: BuildBase
82+
runs-on: ubuntu-20.04
83+
steps:
84+
- uses: actions/checkout@v2
85+
- name: Build Go 1.18 agent
86+
uses: ./.github/actions/build
87+
with:
88+
context: go
89+
dockerfile: go/Dockerfile
90+
image-name: builder-go
91+
tag-suffix: -1.18
92+
platforms: linux/amd64,linux/arm64
93+
docker-namespace: ${{ secrets.DOCKER_HUB_USER }}
94+
docker-password: ${{ secrets.DOCKER_HUB_SECRETS }}
95+
ghcr-token: ${{ secrets.GHCR_TOKEN }}
96+
build-args: "GOLANG_VERSION=1.18"
6497

6598
BuildMaven:
6699
needs: BuildBase

0 commit comments

Comments
 (0)