From d6e7f63a749290c59f6a247bbf6c08b7b8bea330 Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Mon, 4 Dec 2023 12:42:58 -0600 Subject: [PATCH 1/2] Update shared action versions --- .github/workflows/build_and_push_image.yaml | 8 ++++---- .github/workflows/db_migration.yaml | 2 +- .github/workflows/deploy_app.yaml | 4 ++-- .github/workflows/npm_build.yaml | 2 +- .github/workflows/run_rspec.yaml | 2 +- .github/workflows/run_task.yaml | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_and_push_image.yaml b/.github/workflows/build_and_push_image.yaml index 97deab4..8a3adff 100644 --- a/.github/workflows/build_and_push_image.yaml +++ b/.github/workflows/build_and_push_image.yaml @@ -33,19 +33,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 with: repository: zooniverse/${{ inputs.repo_name }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3.0.0 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3.0.0 - name: Create registry tags id: create_tags @@ -59,7 +59,7 @@ jobs: run: echo ${{ inputs.commit_id }} > commit_id.txt - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@5.1.0 with: context: . file: ${{ inputs.file }} diff --git a/.github/workflows/db_migration.yaml b/.github/workflows/db_migration.yaml index 9e4ced3..35a775f 100644 --- a/.github/workflows/db_migration.yaml +++ b/.github/workflows/db_migration.yaml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - uses: azure/login@v1 with: diff --git a/.github/workflows/deploy_app.yaml b/.github/workflows/deploy_app.yaml index 94c5cda..7bd99fa 100644 --- a/.github/workflows/deploy_app.yaml +++ b/.github/workflows/deploy_app.yaml @@ -35,10 +35,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3.0.0 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/npm_build.yaml b/.github/workflows/npm_build.yaml index beeef27..5b0150c 100644 --- a/.github/workflows/npm_build.yaml +++ b/.github/workflows/npm_build.yaml @@ -28,7 +28,7 @@ jobs: env: HEAD_COMMIT: ${{ inputs.commit_id }} steps: - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v4.1.1 - name: Node.js build id: build diff --git a/.github/workflows/run_rspec.yaml b/.github/workflows/run_rspec.yaml index b264e19..10e704b 100644 --- a/.github/workflows/run_rspec.yaml +++ b/.github/workflows/run_rspec.yaml @@ -41,7 +41,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - name: Check for focused specs run: ./scripts/no_focus.sh diff --git a/.github/workflows/run_task.yaml b/.github/workflows/run_task.yaml index d3f30db..45379ab 100644 --- a/.github/workflows/run_task.yaml +++ b/.github/workflows/run_task.yaml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - uses: azure/login@v1 with: From 38f9456581faf3df620c91ce7635b6a86a7d9fb9 Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Mon, 4 Dec 2023 12:51:42 -0600 Subject: [PATCH 2/2] Forgot the v --- .github/workflows/build_and_push_image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_push_image.yaml b/.github/workflows/build_and_push_image.yaml index 8a3adff..69f6b71 100644 --- a/.github/workflows/build_and_push_image.yaml +++ b/.github/workflows/build_and_push_image.yaml @@ -59,7 +59,7 @@ jobs: run: echo ${{ inputs.commit_id }} > commit_id.txt - name: Build and push - uses: docker/build-push-action@5.1.0 + uses: docker/build-push-action@v5.1.0 with: context: . file: ${{ inputs.file }}