diff --git a/demos/jekyll-demo/.github/workflows/pages-deploy.yml b/demos/jekyll-demo/.github/workflows/pages-deploy.yml index e3efcc8..dca222a 100644 --- a/demos/jekyll-demo/.github/workflows/pages-deploy.yml +++ b/demos/jekyll-demo/.github/workflows/pages-deploy.yml @@ -15,12 +15,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # 3.0.2 + with: fetch-depth: 0 # for posts's lastmod - name: Setup Ruby - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@0a29871fe2b0200a17a4497bae54fe5df0d973aa #1.115.3 with: ruby-version: 2.7 bundler-cache: true diff --git a/docker/custom-image/ci/github.yml b/docker/custom-image/ci/github.yml index 8beadaa..c62c76a 100644 --- a/docker/custom-image/ci/github.yml +++ b/docker/custom-image/ci/github.yml @@ -11,29 +11,30 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # 3.0.2 + - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@8b122486cedac8393e77aa9734c3528886e4a1a8 # 2.0.0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # 2.0.0 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b # 2.0.0 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.PAT }} - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b # 2.0.0 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@c84f38281176d4c9cdb1626ffafcd6b3911b5d94 # 3.1.1 with: context: . file: ./Dockerfile