From a64679194fa267cdb5b54a0796af2503261c4674 Mon Sep 17 00:00:00 2001 From: petarpeshev Date: Mon, 7 Oct 2024 21:23:27 +0300 Subject: [PATCH] ci: update gh actions versions --- .github/workflows/prod-mainnet-pipeline.yml | 8 ++++---- .github/workflows/prod-testnet-pipeline.yml | 8 ++++---- .github/workflows/staging-mainnet-pipeline.yml | 10 +++++----- .github/workflows/staging-testnet-pipeline.yml | 8 ++++---- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/prod-mainnet-pipeline.yml b/.github/workflows/prod-mainnet-pipeline.yml index 969b45a..6e5a882 100644 --- a/.github/workflows/prod-mainnet-pipeline.yml +++ b/.github/workflows/prod-mainnet-pipeline.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest name: Production GA Multisig Backend Pipeline steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 100 @@ -45,7 +45,7 @@ jobs: ${{ runner.os }}-${{ env.ENV }}-buildx - name: Log in to dockerhub - uses: docker/login-action@v1 + uses: docker/login-action@v3.3.0 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_PASS }} @@ -62,7 +62,7 @@ jobs: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v') id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5.5.1 with: images: aeternitybot/ga-multisig-backend tags: | @@ -76,7 +76,7 @@ jobs: if: | github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v') - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6.7.0 with: context: . file: Dockerfile diff --git a/.github/workflows/prod-testnet-pipeline.yml b/.github/workflows/prod-testnet-pipeline.yml index 6f29d9d..5760f09 100644 --- a/.github/workflows/prod-testnet-pipeline.yml +++ b/.github/workflows/prod-testnet-pipeline.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest name: Production GA Multisig Backend Pipeline steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 100 @@ -45,7 +45,7 @@ jobs: ${{ runner.os }}-${{ env.ENV }}-buildx - name: Log in to dockerhub - uses: docker/login-action@v1 + uses: docker/login-action@v3.3.0 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_PASS }} @@ -62,7 +62,7 @@ jobs: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v') id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5.5.1 with: images: aeternitybot/ga-multisig-backend tags: | @@ -76,7 +76,7 @@ jobs: if: | github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v') - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6.7.0 with: context: . file: Dockerfile diff --git a/.github/workflows/staging-mainnet-pipeline.yml b/.github/workflows/staging-mainnet-pipeline.yml index 799acef..055ae04 100644 --- a/.github/workflows/staging-mainnet-pipeline.yml +++ b/.github/workflows/staging-mainnet-pipeline.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest name: Staging GA Multisig Backend steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 @@ -40,7 +40,7 @@ jobs: ${{ runner.os }}-${{ env.ENV }}-buildx - name: Log in to dockerhub - uses: docker/login-action@v1 + uses: docker/login-action@v3.3.0 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_PASS }} @@ -48,7 +48,7 @@ jobs: - name: Extract metadata for docker if: github.event_name == 'pull_request' && github.event.action == 'opened' || github.event.action == 'synchronize' id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5.5.1 with: images: aeternity/ga-multisig-backend tags: | @@ -65,7 +65,7 @@ jobs: - name: Build and push docker image if: github.event_name == 'pull_request' && github.event.action == 'opened' || github.event.action == 'synchronize' - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6.7.0 with: context: . file: Dockerfile @@ -81,7 +81,7 @@ jobs: rm -rf /tmp/.buildx-cache mv /tmp/.buildx-cache-new /tmp/.buildx-cache - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: repository: aeternity/gitops-apps-aelabs.git token: ${{ secrets.BOT_GITHUB_TOKEN }} diff --git a/.github/workflows/staging-testnet-pipeline.yml b/.github/workflows/staging-testnet-pipeline.yml index 6c876ad..809396f 100644 --- a/.github/workflows/staging-testnet-pipeline.yml +++ b/.github/workflows/staging-testnet-pipeline.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest name: Staging GA Multisig Backend steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 @@ -40,7 +40,7 @@ jobs: ${{ runner.os }}-${{ env.ENV }}-buildx - name: Log in to dockerhub - uses: docker/login-action@v1 + uses: docker/login-action@v3.3.0 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_PASS }} @@ -48,7 +48,7 @@ jobs: - name: Extract metadata for docker if: github.event_name == 'pull_request' && github.event.action == 'opened' || github.event.action == 'synchronize' id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5.5.1 with: images: aeternity/ga-multisig-backend tags: | @@ -65,7 +65,7 @@ jobs: - name: Build and push docker image if: github.event_name == 'pull_request' && github.event.action == 'opened' || github.event.action == 'synchronize' - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6.7.0 with: context: . file: Dockerfile