From e4eacb09419e2b2a3119a123797adbd6ba166f58 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Fri, 3 Mar 2023 11:03:06 -0700 Subject: MAINT: Update actions in gitpod/docker workflows Update the following actions to see if the deprecation warnings for `save-state` and `set-output` gitpod are fixed. - hadolint-action (->v3) - login-action (->v2) - setup-buildx-action (->v2) Gitpod is only run on merge, so cannot be tested prior to that. --- .github/workflows/docker.yml | 6 +++--- .github/workflows/gitpod.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ef70b4dea..9a25fc051 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -20,7 +20,7 @@ jobs: - name: Clone repository uses: actions/checkout@v3 - name: Lint Docker - uses: brpaz/hadolint-action@v1.2.1 + uses: hadolint/hadolint-action@v3 with: dockerfile: ./tools/gitpod/Dockerfile - name: Get refs @@ -32,7 +32,7 @@ jobs: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT id: getrefs - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Cache Docker layers uses: actions/cache@v3 with: @@ -40,7 +40,7 @@ jobs: key: ${{ runner.os }}-buildx-${{ github.sha }} restore-keys: ${{ runner.os }}-buildx- - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/gitpod.yml b/.github/workflows/gitpod.yml index 466928ada..a3d76de10 100644 --- a/.github/workflows/gitpod.yml +++ b/.github/workflows/gitpod.yml @@ -20,7 +20,7 @@ jobs: with: fetch-depth: 0 - name: Lint Docker - uses: brpaz/hadolint-action@v1.2.1 + uses: hadolint/hadolint-action@v3 with: dockerfile: ./tools/gitpod/gitpod.Dockerfile - name: Get refs @@ -32,7 +32,7 @@ jobs: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT id: getrefs - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Cache Docker layers uses: actions/cache@v3 with: @@ -40,7 +40,7 @@ jobs: key: ${{ runner.os }}-buildx-${{ github.sha }} restore-keys: ${{ runner.os }}-buildx- - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} -- cgit v1.2.1