From 13ef3183e2dc8fcc8e6f19fce4992e2a1ce2d616 Mon Sep 17 00:00:00 2001 From: Robin Date: Fri, 21 Jun 2024 09:51:42 -0400 Subject: [PATCH] Tell Renovate that we're trying to pin actions to specific tags It thought that we were just trying to follow the latest commit on these actions, when in reality we want to follow the latest tag and pin its commit hash. --- .github/workflows/docker.yaml | 8 ++++---- .github/workflows/publish.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 51e5a8db..1bfad99a 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -34,7 +34,7 @@ jobs: path: dist - name: Log in to container registry - uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 + uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -42,16 +42,16 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@f7b4ed12385588c3f9bc252f0a2b520d83b52d48 + uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: ${{ inputs.docker_tags}} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@abe89fb761023d1d963c81f6b5e0df54236dc097 + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0 - name: Build and push Docker image - uses: docker/build-push-action@31159d49c0d4756269a0940a750801a1ea5d7003 + uses: docker/build-push-action@31159d49c0d4756269a0940a750801a1ea5d7003 # v6.1.0 with: context: . platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 6bbe79c0..ddf42d22 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -51,7 +51,7 @@ jobs: run: | tar --numeric-owner --transform "s/dist/element-call-${TARBALL_VERSION}/" -cvzf element-call-${TARBALL_VERSION}.tar.gz dist - name: Upload - uses: actions/upload-artifact@552bf3722c16e81001aea7db72d8cedf64eb5f68 + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 env: GITHUB_TOKEN: ${{ github.token }} with: