From e9c08c84efec4a90b4e194621111f336052f1cef Mon Sep 17 00:00:00 2001 From: ngosang Date: Fri, 6 Jan 2023 18:32:34 +0100 Subject: [PATCH] Update GitHub actions --- .github/workflows/autotag.yml | 2 +- .github/workflows/release-docker.yml | 14 +++++++------- .github/workflows/release.yml | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/autotag.yml b/.github/workflows/autotag.yml index fc8895a590..d3abce098b 100644 --- a/.github/workflows/autotag.yml +++ b/.github/workflows/autotag.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Auto Tag uses: Klemensas/action-autotag@stable diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index 38b0d6f71c..fd2905934d 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -11,39 +11,39 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Downcase repo run: echo REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV - name: Docker meta id: docker_meta - uses: crazy-max/ghaction-docker-meta@v1 + uses: crazy-max/ghaction-docker-meta@v3 with: images: ${{ env.REPOSITORY }},ghcr.io/${{ env.REPOSITORY }} tag-sha: false - name: Set up QEMU - uses: docker/setup-qemu-action@v1.0.1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GH_PAT }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . file: ./Dockerfile diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d63253a3e..8e0e1ec86f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,12 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 # get all commits, branches and tags (required for the changelog) - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: '16'