diff --git a/.github/workflows/lint-and-build-code.yml b/.github/workflows/lint-and-build-code.yml index e93089e7..18bdc206 100644 --- a/.github/workflows/lint-and-build-code.yml +++ b/.github/workflows/lint-and-build-code.yml @@ -29,8 +29,21 @@ jobs: name: Lint codebase runs-on: ubuntu-latest timeout-minutes: 10 + # Don't flag the whole workflow as failed if "experimental" matrix jobs + # fail. This allows the unstable image linting tasks to fail without + # marking the oldstable and stable image linting jobs as failed. + continue-on-error: ${{ matrix.experimental }} + strategy: + # Don't stop all workflow jobs if the unstable image linting tasks fail. + fail-fast: false + matrix: + container-image: ["go-ci-oldstable", "go-ci-stable"] + experimental: [false] + include: + - container-image: "go-ci-unstable" + experimental: true container: - image: index.docker.io/atc0005/go-ci:go-ci-lint-only + image: "ghcr.io/atc0005/go-ci:${{ matrix.container-image}}" steps: - name: Check out code @@ -61,7 +74,7 @@ jobs: container-image: ["go-ci-oldstable", "go-ci-stable", "go-ci-unstable"] container: - image: "index.docker.io/atc0005/go-ci:${{ matrix.container-image}}" + image: "ghcr.io/atc0005/go-ci:${{ matrix.container-image}}" steps: - name: Check out code @@ -80,7 +93,7 @@ jobs: container-image: ["go-ci-oldstable", "go-ci-stable", "go-ci-unstable"] container: - image: "index.docker.io/atc0005/go-ci:${{ matrix.container-image}}" + image: "ghcr.io/atc0005/go-ci:${{ matrix.container-image}}" steps: - name: Print go version diff --git a/.github/workflows/lint-and-build-using-make.yml b/.github/workflows/lint-and-build-using-make.yml index ac5f35a7..a1f5939a 100644 --- a/.github/workflows/lint-and-build-using-make.yml +++ b/.github/workflows/lint-and-build-using-make.yml @@ -31,7 +31,8 @@ jobs: # Default: 360 minutes timeout-minutes: 10 container: - image: "index.docker.io/golang:latest" + # Use (lightly touched) mirror of current "vanilla" upstream golang image + image: "ghcr.io/atc0005/go-ci:go-ci-stable-mirror-build" steps: - name: Print go version @@ -67,7 +68,8 @@ jobs: # Default: 360 minutes timeout-minutes: 10 container: - image: "index.docker.io/golang:latest" + # Use (lightly touched) mirror of current "vanilla" upstream golang image + image: "ghcr.io/atc0005/go-ci:go-ci-stable-mirror-build" steps: - name: Print go version diff --git a/.github/workflows/lint-and-test-only.yml b/.github/workflows/lint-and-test-only.yml index 3fa4ae63..cbc28f00 100644 --- a/.github/workflows/lint-and-test-only.yml +++ b/.github/workflows/lint-and-test-only.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 container: - image: index.docker.io/atc0005/go-ci:go-ci-lint-only + image: ghcr.io/atc0005/go-ci:go-ci-lint-only steps: - name: Check out code diff --git a/.github/workflows/lint-docker-files.yml b/.github/workflows/lint-docker-files.yml index d80f1911..fb4b6fdf 100644 --- a/.github/workflows/lint-docker-files.yml +++ b/.github/workflows/lint-docker-files.yml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 container: - image: index.docker.io/hadolint/hadolint:latest-debian + image: ghcr.io/hadolint/hadolint:latest-debian steps: - name: Check out code