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 shell: bash
jobs: 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: build_base:
timeout-minutes: 70 timeout-minutes: 70
name: Build ${{ matrix.build }} base on ${{ matrix.os }} name: Build ${{ matrix.build }} base on ${{ matrix.os }}
@ -30,14 +41,13 @@ jobs:
matrix: matrix:
build: build:
- build-base - build-base
os: os: ${{ fromJson(needs.init_build.outputs.os) }}
- alpine
- ubuntu
- ol
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1
@ -178,10 +188,7 @@ jobs:
- build-mysql - build-mysql
- build-pgsql - build-pgsql
- build-sqlite3 - build-sqlite3
os: os: ${{ fromJson(needs.init_build.outputs.os) }}
- alpine
- ubuntu
- ol
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
@ -339,10 +346,7 @@ jobs:
- agent2 - agent2
- proxy-mysql - proxy-mysql
- java-gateway - java-gateway
os: os: ${{ fromJson(needs.init_build.outputs.os) }}
- alpine
- ubuntu
- ol
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:

View File

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