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