From 03d2e31698e008169d1031f08d9413f57e1c5d92 Mon Sep 17 00:00:00 2001 From: Matiss Janis Aboltins Date: Fri, 2 Feb 2024 19:57:51 +0000 Subject: [PATCH] More upgrades --- .github/workflows/build.yml | 2 +- .github/workflows/docker-edge.yml | 14 +++++++------- .github/workflows/docker-release.yml | 18 +++++++++--------- .github/workflows/lint.yml | 2 +- .github/workflows/release-notes.yml | 2 +- .github/workflows/test.yml | 2 +- upcoming-release-notes/307.md | 2 +- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 484f6f6fa..c6d12a5b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install node uses: actions/setup-node@v1 with: diff --git a/.github/workflows/docker-edge.yml b/.github/workflows/docker-edge.yml index cff1747f0..497da722a 100644 --- a/.github/workflows/docker-edge.yml +++ b/.github/workflows/docker-edge.yml @@ -38,17 +38,17 @@ jobs: matrix: os: [ubuntu, alpine] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: # Push to both Docker Hub and Github Container Registry images: ${{ env.IMAGES }} @@ -56,14 +56,14 @@ jobs: tags: ${{ env.TAGS }} - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 if: github.event_name != 'pull_request' with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 if: github.event_name != 'pull_request' with: registry: ghcr.io @@ -76,7 +76,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build and push image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: ${{ github.event_name != 'pull_request' }} diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 96d947f6a..eb43f0159 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -27,17 +27,17 @@ jobs: name: Build Docker image runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: # Push to both Docker Hub and Github Container Registry images: ${{ env.IMAGES }} @@ -47,7 +47,7 @@ jobs: - name: Docker meta for Alpine image id: alpine-meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.IMAGES }} # Automatically update :latest @@ -57,20 +57,20 @@ jobs: tags: ${{ env.TAGS }} - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push ubuntu image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: true @@ -79,7 +79,7 @@ jobs: tags: ${{ steps.meta.outputs.tags }} - name: Build and push alpine image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2e403cb90..65a3a2b29 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install node uses: actions/setup-node@v1 with: diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index c8e6b9896..9b4d75373 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check release notes if: startsWith(github.head_ref, 'release/') == false uses: actualbudget/actions/release-notes/check@main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2b395ee57..c2162ae4c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install node uses: actions/setup-node@v1 with: diff --git a/upcoming-release-notes/307.md b/upcoming-release-notes/307.md index 23d9d1bb3..201fbbc17 100644 --- a/upcoming-release-notes/307.md +++ b/upcoming-release-notes/307.md @@ -3,4 +3,4 @@ category: Maintenance authors: [MatissJanis] --- -Upgrade deprecated github checkout action from v2 to v3 +Upgrade deprecated github actions