diff --git a/.github/workflows/packer-publish-image.yaml b/.github/workflows/packer-publish-image.yaml index e5d55dd..4bb7b18 100644 --- a/.github/workflows/packer-publish-image.yaml +++ b/.github/workflows/packer-publish-image.yaml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: Setup `packer` uses: hashicorp/setup-packer@main @@ -53,7 +53,7 @@ jobs: - name: Log into registry ${{ env.REGISTRY }} if: github.event_name == 'push' - uses: docker/login-action@v2 + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} diff --git a/.github/workflows/publish-image.yaml b/.github/workflows/publish-image.yaml index 2f88913..352efde 100644 --- a/.github/workflows/publish-image.yaml +++ b/.github/workflows/publish-image.yaml @@ -25,14 +25,14 @@ jobs: uses: docker/setup-buildx-action@8026d2bc3645ea78b0d2544766a1225eb5691f89 # v3 - name: Log into registry ${{ env.REGISTRY }} - uses: docker/login-action@v2 + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4 with: push: ${{ github.event_name == 'push' }} tags: |