1212    outputs :
1313      arch : ${{ steps.supported-arch-matrix.outputs.arch }} 
1414    steps :
15-       - uses : actions/checkout@v4 
15+       - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683   #   v4
1616      - id : supported-arch-matrix 
1717        name : Generate Arch 
1818        run : | 
2121    name : Lint Dockerfile 
2222    runs-on : ubuntu-latest 
2323    steps :
24-       - uses : actions/checkout@v4 
24+       - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683   #   v4
2525      - name : Lint Dockerfile 
2626        uses : docker://hadolint/hadolint:latest-debian 
2727        with :
@@ -44,18 +44,18 @@ jobs:
4444          echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV 
4545       - name : Docker meta 
4646        id : meta 
47-         uses : docker/metadata-action@v5 
47+         uses : docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f   #   v5
4848        with :
4949          images : ${{ env.REGISTRY_IMAGE }} 
5050      - name : Set up QEMU 
51-         uses : docker/setup-qemu-action@v3 
51+         uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392   #   v3
5252      - name : Set up Docker Buildx 
53-         uses : docker/setup-buildx-action@v3 
54-       - uses : actions/checkout@v4 
53+         uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435   #   v3
54+       - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683   #   v4
5555      - run : mkdir ./docker-image 
5656      - run : docker image build --platform=${{ matrix.platform }} --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` -t "${DOCKER_IMAGE}:${{ env.PLATFORM_PAIR }}" --no-cache . 
5757      - run : docker save "${DOCKER_IMAGE}:${{ env.PLATFORM_PAIR }}" -o ./docker-image/docker_image-${{ env.PLATFORM_PAIR }}.tar 
58-       - uses : actions/upload-artifact@v4 
58+       - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02   #   v4
5959        with :
6060          name : docker-image-${{ env.PLATFORM_PAIR }} 
6161          path : ./docker-image 
7474        run : | 
7575          platform=${{ matrix.platform }} 
7676          echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV 
77-        - uses : actions/checkout@v4 
78-       - uses : actions/download-artifact@v4 
77+        - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683   #   v4
78+       - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093   #   v4
7979        with :
8080          name : docker-image-${{ env.PLATFORM_PAIR }} 
8181          path : /tmp/docker-image 
@@ -97,16 +97,16 @@ jobs:
9797    steps :
9898      - name : Get Time 
9999        id : time 
100- 100+         uses : nanzm/get-time-action@887e4db9af58ebae64998b7105921b816af77977   #   v2.0
101101        with :
102102          format : ' YYYY.MM.DD' 
103103      - name : Set up QEMU 
104-         uses : docker/setup-qemu-action@v3 
104+         uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392   #   v3
105105      - name : Set up Docker Buildx 
106-         uses : docker/setup-buildx-action@v3 
106+         uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435   #   v3
107107        with :
108108          driver-opts : network=host 
109-       - uses : actions/download-artifact@v4 
109+       - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093   #   v4
110110        with :
111111          pattern : docker-image-* 
112112          path : /tmp/docker-image 
@@ -128,7 +128,7 @@ jobs:
128128       - run : docker images 
129129      - name : Login to GitHub Container Registry 
130130        if : github.event_name != 'pull_request' 
131-         uses : docker/login-action@v3 
131+         uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1   #   v3
132132        with :
133133          registry : ghcr.io 
134134          username : ${{ github.actor }} 
@@ -139,7 +139,7 @@ jobs:
139139        run : echo "FROM localhost:5000/${{ env.DOCKER_IMAGE }}:\${TARGETOS}-\${TARGETARCH}" >> docker-file-${{ matrix.registry }}-wyrihaximusnet-github-action-runner 
140140      - run : cat docker-file-${{ matrix.registry }}-wyrihaximusnet-github-action-runner 
141141      - name : Merged different arch images into one 
142-         uses : docker/build-push-action@v6 
142+         uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83   #   v6
143143        with :
144144          push : ${{ github.event_name != 'pull_request' }} 
145145          context : . 
0 commit comments