diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 79ce2f5..89f9eaa 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -27,7 +27,7 @@ jobs: sudo docker builder prune -a - name: checkout - uses: actions/checkout@v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Prepare env id: envvars @@ -42,17 +42,17 @@ jobs: - name: Metadata id: meta - uses: docker/metadata-action@v6.2.0 + uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0 with: images: ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }} - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v4.4.1 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 - name: Build and push by digest if: github.event_name == 'pull_request' - uses: docker/build-push-action@v7.4.0 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: build-args: | AMBERTOOLS_DL=${{ secrets.AMBERTOOLS_DL }} @@ -75,7 +75,7 @@ jobs: - name: Authenticate with GHCR if: github.event_name != 'pull_request' id: auth - uses: docker/login-action@v4.6.0 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -84,7 +84,7 @@ jobs: - name: Build and push by digest if: github.event_name != 'pull_request' id: build - uses: docker/build-push-action@v7.4.0 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: build-args: | AMBERTOOLS_DL=${{ secrets.AMBERTOOLS_DL }} @@ -113,7 +113,7 @@ jobs: - name: Upload digest if: github.event_name != 'pull_request' - uses: actions/upload-artifact@v7.0.1 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: digests-${{ env.PLATFORM_PAIR }} path: ${{ runner.temp }}/digests/* @@ -128,7 +128,7 @@ jobs: - build steps: - name: Download digests - uses: actions/download-artifact@v8.0.1 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: path: ${{ runner.temp }}/digests pattern: digests-* @@ -136,7 +136,7 @@ jobs: - name: Authenticate with GHCR id: auth - uses: docker/login-action@v4.6.0 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -144,11 +144,11 @@ jobs: - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v4.4.1 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 - name: Metadata id: meta - uses: docker/metadata-action@v6.2.0 + uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0 with: images: ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }} tags: | @@ -180,7 +180,7 @@ jobs: docker buildx imagetools inspect ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}:latest - name: Post version update to dash - uses: peter-evans/repository-dispatch@v4.0.1 + uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1 with: token: ${{ secrets.BUILD_TOKEN }} repository: ccpbiosim/ccpbiosim.github.io