diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47bb36ee..2e4fbd47 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: build: name: Build runs-on: ubuntu-latest - container: golang:1.22.4@sha256:a66eda637829ce891e9cf61ff1ee0edf544e1f6c5b0e666c7310dce231a66f28 + container: golang:1.22.4@sha256:3589439790974ec05491b66b656bf1048d0f50dd010a903463e3156ba1fc26de strategy: matrix: # even though Windows is not officially supported, we want it to at least compile successfully @@ -39,7 +39,7 @@ jobs: test: name: Test runs-on: ubuntu-latest - container: golang:1.22.4@sha256:a66eda637829ce891e9cf61ff1ee0edf544e1f6c5b0e666c7310dce231a66f28 + container: golang:1.22.4@sha256:3589439790974ec05491b66b656bf1048d0f50dd010a903463e3156ba1fc26de steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Setup Golang caches @@ -61,10 +61,10 @@ jobs: test-postgres: runs-on: ubuntu-latest name: Test PostgreSQL - container: golang:1.22.4@sha256:a66eda637829ce891e9cf61ff1ee0edf544e1f6c5b0e666c7310dce231a66f28 + container: golang:1.22.4@sha256:3589439790974ec05491b66b656bf1048d0f50dd010a903463e3156ba1fc26de services: postgres: - image: postgres:16@sha256:46aa2ee5d664b275f05d1a963b30fff60fb422b4b594d509765c42db46d48881 + image: postgres:16@sha256:92fa38467c7cd012e316cc270b43b8a06510f226d5a9e046c1fbc8912c65dd5c env: # see https://hub.docker.com/_/postgres POSTGRES_HOST: postgres @@ -109,7 +109,7 @@ jobs: test-mysql: runs-on: ubuntu-latest name: Test MySQL - container: golang:1.22.4@sha256:a66eda637829ce891e9cf61ff1ee0edf544e1f6c5b0e666c7310dce231a66f28 + container: golang:1.22.4@sha256:3589439790974ec05491b66b656bf1048d0f50dd010a903463e3156ba1fc26de services: mysql: image: mysql:8-debian@sha256:49f4fcb0087318aa1c222c7e8ceacbb541cdc457c6307d45e6ee4313f4902e33 @@ -155,7 +155,7 @@ jobs: cli-tests: name: CLI Tests runs-on: ubuntu-latest - container: golang:1.22.4@sha256:a66eda637829ce891e9cf61ff1ee0edf544e1f6c5b0e666c7310dce231a66f28 + container: golang:1.22.4@sha256:3589439790974ec05491b66b656bf1048d0f50dd010a903463e3156ba1fc26de services: mysql: image: mysql:8-debian@sha256:49f4fcb0087318aa1c222c7e8ceacbb541cdc457c6307d45e6ee4313f4902e33 @@ -173,7 +173,7 @@ jobs: --health-timeout 5s --health-retries 20 postgres: - image: postgres:16@sha256:46aa2ee5d664b275f05d1a963b30fff60fb422b4b594d509765c42db46d48881 + image: postgres:16@sha256:92fa38467c7cd012e316cc270b43b8a06510f226d5a9e046c1fbc8912c65dd5c env: # see https://hub.docker.com/_/postgres POSTGRES_HOST: postgres @@ -226,7 +226,7 @@ jobs: lint: runs-on: ubuntu-latest name: Lint - container: golang:1.22.4@sha256:a66eda637829ce891e9cf61ff1ee0edf544e1f6c5b0e666c7310dce231a66f28 + container: golang:1.22.4@sha256:3589439790974ec05491b66b656bf1048d0f50dd010a903463e3156ba1fc26de steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Disable git security features @@ -245,7 +245,7 @@ jobs: generate: name: Generate Code runs-on: ubuntu-latest - container: golang:1.22.4@sha256:a66eda637829ce891e9cf61ff1ee0edf544e1f6c5b0e666c7310dce231a66f28 + container: golang:1.22.4@sha256:3589439790974ec05491b66b656bf1048d0f50dd010a903463e3156ba1fc26de steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Install packages diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index e63dfc44..70d85ba4 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest concurrency: group: ${{ github.workflow }}-${{ github.ref }} - container: golang:1.22.4@sha256:a66eda637829ce891e9cf61ff1ee0edf544e1f6c5b0e666c7310dce231a66f28 + container: golang:1.22.4@sha256:3589439790974ec05491b66b656bf1048d0f50dd010a903463e3156ba1fc26de steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5bfc7487..a4c9e97b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ permissions: jobs: wfx: runs-on: ubuntu-latest - container: golang:1.22.4@sha256:a66eda637829ce891e9cf61ff1ee0edf544e1f6c5b0e666c7310dce231a66f28 + container: golang:1.22.4@sha256:3589439790974ec05491b66b656bf1048d0f50dd010a903463e3156ba1fc26de steps: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ad4cdd0..61d341fe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,7 +15,7 @@ stages: - test - deploy -image: golang:1.22.4@sha256:a66eda637829ce891e9cf61ff1ee0edf544e1f6c5b0e666c7310dce231a66f28 +image: golang:1.22.4@sha256:3589439790974ec05491b66b656bf1048d0f50dd010a903463e3156ba1fc26de build: stage: build @@ -40,7 +40,7 @@ test: test-postgres: stage: test services: - - postgres:16@sha256:46aa2ee5d664b275f05d1a963b30fff60fb422b4b594d509765c42db46d48881 + - postgres:16@sha256:92fa38467c7cd012e316cc270b43b8a06510f226d5a9e046c1fbc8912c65dd5c needs: [] variables: CGO_ENABLED: 1 @@ -89,7 +89,7 @@ cli-tests: stage: test needs: [] services: - - postgres:16@sha256:46aa2ee5d664b275f05d1a963b30fff60fb422b4b594d509765c42db46d48881 + - postgres:16@sha256:92fa38467c7cd012e316cc270b43b8a06510f226d5a9e046c1fbc8912c65dd5c - mysql:8-debian@sha256:49f4fcb0087318aa1c222c7e8ceacbb541cdc457c6307d45e6ee4313f4902e33 variables: GIT_SUBMODULE_STRATEGY: recursive