Updated Go lang to 1.17.1 version

This commit is contained in:
Alexey Pustovalov 2021-09-14 02:17:14 +02:00
parent dec682ea45
commit 43f519778e
2 changed files with 17 additions and 12 deletions

View File

@ -19,6 +19,17 @@ defaults:
shell: bash
jobs:
init_build:
name: Initialize build
runs-on: ubuntu-latest
outputs:
os: ["alpine", "ol", "ubuntu"]
steps:
- name: Checkout the repository
uses: actions/checkout@v2
with:
fetch-depth: 1
build_base:
timeout-minutes: 70
name: Build ${{ matrix.build }} base on ${{ matrix.os }}
@ -30,14 +41,13 @@ jobs:
matrix:
build:
- build-base
os:
- alpine
- ubuntu
- ol
os: ${{ fromJson(needs.init_build.outputs.os) }}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
@ -178,10 +188,7 @@ jobs:
- build-mysql
- build-pgsql
- build-sqlite3
os:
- alpine
- ubuntu
- ol
os: ${{ fromJson(needs.init_build.outputs.os) }}
runs-on: ubuntu-20.04
steps:
@ -339,10 +346,7 @@ jobs:
- agent2
- proxy-mysql
- java-gateway
os:
- alpine
- ubuntu
- ol
os: ${{ fromJson(needs.init_build.outputs.os) }}
runs-on: ubuntu-20.04
steps:

View File

@ -20,6 +20,7 @@ LABEL org.opencontainers.image.title="Zabbix build base" \
org.opencontainers.image.source="${ZBX_SOURCES}"
RUN set -eux && \
env && \
apk add --no-cache --clean-protected \
bash \
autoconf \