diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4e31d31d4..5643aeade 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -91,7 +91,7 @@ jobs: matrix: os: - ubuntu-latest - - ubuntu-20.04 + - ubuntu-22.04 - macos-latest runs-on: ${{ matrix.os }} steps: @@ -104,7 +104,7 @@ jobs: go-version-file: "go.mod" - name: Install dependency required for linux builds - if: matrix.os == 'ubuntu-20.04' + if: matrix.os == 'ubuntu-22.04' run: sudo apt-get update && sudo apt-get install -y libudev-dev - name: GoReleaser diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0ddd16ee..a3b5fab1a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: matrix: os: - ubuntu-latest - - ubuntu-20.04 + - ubuntu-22.04 - macos-latest runs-on: ${{ matrix.os }} if: github.event_name != 'workflow_dispatch' @@ -37,7 +37,7 @@ jobs: go-version-file: "go.mod" - name: Install dependency required for linux builds - if: matrix.os == 'ubuntu-20.04' + if: matrix.os == 'ubuntu-22.04' run: sudo apt-get update && sudo apt-get install -y libudev-dev - name: Add Lowercase Repository Name to Environment @@ -45,7 +45,7 @@ jobs: echo REPOSITORY_NAME_LOWERCASE=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV - uses: "docker/login-action@v3" - if: matrix.os == 'ubuntu-20.04' + if: matrix.os == 'ubuntu-22.04' with: registry: "ghcr.io" username: "${{ github.actor }}" diff --git a/.goreleaser.ubuntu-20.04.yml b/.goreleaser.ubuntu-22.04.yml similarity index 100% rename from .goreleaser.ubuntu-20.04.yml rename to .goreleaser.ubuntu-22.04.yml diff --git a/Makefile b/Makefile index 07d0abf2d..44a75c361 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ BIN_DIR := $(CURDIR)/bin ifeq ($(OS),Darwin) CONFIG_FILE?=$(CURDIR)/.goreleaser.macos-latest.yml else ifeq ($(OS),Linux) - CONFIG_FILE?=$(CURDIR)/.goreleaser.ubuntu-20.04.yml + CONFIG_FILE?=$(CURDIR)/.goreleaser.ubuntu-22.04.yml else $(error Unsupported build OS: $(OS)) endif