From 448c93aa309484381e10ad6318044bd4125e0d1c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Aug 2024 23:05:21 +0000 Subject: [PATCH] Bump the action-packages group across 1 directory with 3 updates Bumps the action-packages group with 3 updates in the / directory: [docker/build-push-action](https://github.com/docker/build-push-action), [mikefarah/yq](https://github.com/mikefarah/yq) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `docker/build-push-action` from 5 to 6 - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v5...v6) Updates `mikefarah/yq` from 4.44.1 to 4.44.3 - [Release notes](https://github.com/mikefarah/yq/releases) - [Changelog](https://github.com/mikefarah/yq/blob/master/release_notes.txt) - [Commits](https://github.com/mikefarah/yq/compare/v4.44.1...v4.44.3) Updates `codecov/codecov-action` from 4.4.1 to 4.5.0 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/125fc84a9a348dbcf27191600683ec096ec9021c...e28ff129e5465c2c0dcc6f003fc735cb6ae0c673) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: action-packages - dependency-name: mikefarah/yq dependency-type: direct:production update-type: version-update:semver-patch dependency-group: action-packages - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: action-packages ... Signed-off-by: dependabot[bot] --- .github/workflows/build_and_push.yml | 8 ++++---- .github/workflows/tests.yml | 4 ++-- .github/workflows/trivy.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_and_push.yml b/.github/workflows/build_and_push.yml index 7605ab3..b8ff47d 100644 --- a/.github/workflows/build_and_push.yml +++ b/.github/workflows/build_and_push.yml @@ -35,7 +35,7 @@ jobs: - name: Build and push jobwatcher Docker image id: jobwatcher_build - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: file: ./container/job_watcher.Dockerfile push: true @@ -50,19 +50,19 @@ jobs: - name: Build and push jobcreator Docker image id: jobcreator_build - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: file: ./container/job_creator.Dockerfile push: true tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/jobcreator:${{ github.sha }} - name: Edit the YAML jobcreator.yml file for staging for jobwatcher - uses: mikefarah/yq@v4.44.1 + uses: mikefarah/yq@v4.44.3 with: cmd: yq e -i '.spec.template.spec.containers[] |= (select(.name == "jobcreator") | .env[] |= select(.name == "WATCHER_SHA").value = "${{ steps.remove_sha256_watcher.outputs.digest }}")' './components/jobcreator/envs/staging/jobcreator.yml' - name: Edit the YAML jobcreator.yml file for staging for jobcreator - uses: mikefarah/yq@v4.44.1 + uses: mikefarah/yq@v4.44.3 with: cmd: yq e -i '.spec.template.spec.containers[] |= select(.name == "jobcreator").image = "ghcr.io/fiaisis/jobcreator@${{ steps.jobcreator_build.outputs.digest }}"' './components/jobcreator/envs/staging/jobcreator.yml' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0121bf0..c318145 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,7 @@ jobs: run: pytest ./job_creator --random-order --random-order-bucket=global --ignore=test/database/test_db_updater_integration.py --cov --cov-report=xml - name: Upload coverage - uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1 + uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -48,6 +48,6 @@ jobs: run: pytest ./job_watcher --random-order --random-order-bucket=global --ignore=test/database/test_db_updater_integration.py --cov --cov-report=xml - name: Upload coverage - uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1 + uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 2566633..ba57314 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -34,7 +34,7 @@ jobs: uses: actions/checkout@v4 - name: Build Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: file: ./container/${{ matrix.dockerfile }} tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ matrix.image_name }}:${{ github.sha }}