Upgrade Ubuntu focal -> jammy

This commit is contained in:
Holger Obermaier 2023-09-13 13:20:00 +02:00
parent 38478ce8c2
commit 9975ee6e00

View File

@ -142,11 +142,11 @@ jobs:
make RPM make RPM
# #
# Build on Ubuntu 20.04 using official go package # Build on Ubuntu 22.04 using official go package
# #
Ubuntu-focal-build: Ubuntu-jammy-build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ubuntu:20.04 container: ubuntu:22.04
steps: steps:
# Use apt to install development packages # Use apt to install development packages
@ -165,8 +165,8 @@ jobs:
# Use official golang package # Use official golang package
- name: Install Golang - name: Install Golang
run: | run: |
wget -q https://go.dev/dl/go1.19.1.linux-amd64.tar.gz wget -q https://go.dev/dl/go1.21.1.linux-amd64.tar.gz | \
tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz tar --directory=/usr/local --extract --gzip
export PATH=/usr/local/go/bin:/usr/local/go/pkg/tool/linux_amd64:$PATH export PATH=/usr/local/go/bin:/usr/local/go/pkg/tool/linux_amd64:$PATH
go version go version
- name: DEB build MetricCollector - name: DEB build MetricCollector