From 7f0d21bb9e3be075a5f1ada6912d8cfa54c8de5e Mon Sep 17 00:00:00 2001 From: Anatoli Nicolae Date: Mon, 12 Feb 2024 23:27:57 +0100 Subject: [PATCH] Pin workflow actions version Signed-off-by: Anatoli Nicolae --- .github/workflows/build.yml | 16 ++++++++-------- .github/workflows/ghcr_cleanup.yml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5f19a629..5b4b2d82a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,19 +22,19 @@ jobs: runs-on: ubuntu-latest steps: - name: ๐Ÿ›‘ Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.12.0 + uses: styfle/cancel-workflow-action@0.12.1 - name: โฌ‡๏ธ Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 - name: ๐Ÿฅก Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v3.0.0 - name: โœ–๏ธ Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v3.0.0 - name: โšก๏ธ Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4.0.0 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ github.sha }} @@ -42,7 +42,7 @@ jobs: ${{ runner.os }}-buildx- - name: ๐Ÿ‘‹ Log in to the Container registry - uses: docker/login-action@v3 + uses: docker/login-action@v3.0.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -50,7 +50,7 @@ jobs: - name: ๐Ÿงช Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v5.5.1 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | @@ -59,7 +59,7 @@ jobs: type=ref,event=tag - name: ๐Ÿ›  Build and push Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v5.1.0 with: context: . platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/ghcr_cleanup.yml b/.github/workflows/ghcr_cleanup.yml index 343f6aae0..86bdb3be5 100644 --- a/.github/workflows/ghcr_cleanup.yml +++ b/.github/workflows/ghcr_cleanup.yml @@ -20,7 +20,7 @@ jobs: steps: - name: ๐Ÿ—‘ Delete untagged images - uses: actions/github-script@v7 + uses: actions/github-script@v7.0.1 with: script: | const response = await github.request("GET /user/packages/container/${{ env.PACKAGE_NAME }}/versions",