diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b68d729..4dcd9f0c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,53 +17,53 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 with: fetch-depth: 0 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2 - name: docker.io Login - uses: docker/login-action@v2 + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 with: registry: docker.io username: ${{ github.repository_owner }} password: ${{ secrets.DOCKER_HUB_TOKEN }} - name: ghcr.io login - uses: docker/login-action@v2 + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GH_PAT }} - name: quay.io Login - uses: docker/login-action@v2 + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 with: registry: quay.io username: ${{ github.repository_owner }} password: ${{ secrets.QUAY_TOKEN }} - name: Snapcraft config - uses: samuelmeuli/action-snapcraft@v2 + uses: samuelmeuli/action-snapcraft@d33c176a9b784876d966f80fb1b461808edc0641 # v2 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 with: go-version: '1.22' - name: Import GPG key - uses: crazy-max/ghaction-import-gpg@v5 + uses: crazy-max/ghaction-import-gpg@d6f3f49f3345e29369fe57596a3ca8f94c4d2ca7 # v5 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.GPG_PASSPHRASE }} - name: Install goreleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@5fdedb94abba051217030cc86d4523cf3f02243d # v4 with: version: v1.24.0 install-only: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b9e0f51e..f3fc95c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,10 +24,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 with: go-version: '1.22' @@ -39,7 +39,7 @@ jobs: run: make test - name: Publish coverage to coveralls.io - uses: shogo82148/actions-goveralls@v1 + uses: shogo82148/actions-goveralls@785c9d68212c91196d3994652647f8721918ba11 # v1 if: ${{ matrix.os == 'ubuntu-22.04' }} with: path-to-profile: coverage.out diff --git a/Dockerfile b/Dockerfile index d9b550d3..99653375 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # BUILD CONTAINER ## -FROM alpine:3.19 as certs +FROM alpine:3.19@sha256:ae65dbf8749a7d4527648ccee1fa3deb6bfcae34cbc30fc67aa45c44dcaa90ee as certs RUN \ apk add --no-cache ca-certificates @@ -11,7 +11,7 @@ apk add --no-cache ca-certificates # RELEASE CONTAINER ## -FROM busybox:1.36-glibc +FROM busybox:1.36-glibc@sha256:949757861bcee7514f64d9b44d3c1d43c21f5183cae113e97b98261fc1c522dc WORKDIR /