From 41f82d48b7d8c8213de6488612c02917fe1cb572 Mon Sep 17 00:00:00 2001 From: "Adam D. Cornett" Date: Mon, 23 Jan 2023 14:06:18 -0700 Subject: [PATCH] updating main and release ci files Signed-off-by: Adam D. Cornett --- .github/workflows/build-main.yml | 8 ++++++-- .github/workflows/build-release.yml | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml index 46bc955..4768af6 100644 --- a/.github/workflows/build-main.yml +++ b/.github/workflows/build-main.yml @@ -7,9 +7,13 @@ on: jobs: build-main: name: Build and push a main snapshot image - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/setup-go@v3 + with: + go-version: 1.19 + id: go + - uses: actions/checkout@v3 - name: Fetch latest release version uses: reloc8/action-latest-release-version@1.0.0 id: fetch-latest-release diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 9966e0c..d2d71bf 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -11,9 +11,13 @@ on: jobs: build-release: name: Build and push a tag image - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/setup-go@v3 + with: + go-version: 1.19 + id: go + - uses: actions/checkout@v3 - name: Set Env Tags run: | echo RELEASE_TAG=$(echo $GITHUB_REF | cut -d '/' -f 3) >> $GITHUB_ENV