From 31cd652f57e2c481c794ced4ce56aa4a3ec8cf39 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Aug 2024 20:19:31 +0000 Subject: [PATCH 1/3] chore(actions): update anchore/sbom-action action to v0.17.2 --- .github/workflows/prereleased.yml | 2 +- .github/workflows/pull-request.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prereleased.yml b/.github/workflows/prereleased.yml index e9559aa..8d98b3f 100644 --- a/.github/workflows/prereleased.yml +++ b/.github/workflows/prereleased.yml @@ -225,7 +225,7 @@ jobs: - uses: actions/checkout@v4 - name: Create SBOM - uses: anchore/sbom-action@v0.17.0 + uses: anchore/sbom-action@v0.17.2 with: upload-artifact-retention: 1 format: cyclonedx-json diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index c777850..34b84f4 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -74,7 +74,7 @@ jobs: - uses: actions/checkout@v4 - name: Create SBOM - uses: anchore/sbom-action@v0.17.0 + uses: anchore/sbom-action@v0.17.2 with: upload-artifact-retention: 1 format: cyclonedx-json From 09f2e76fe249f6a48f17528dec5602492d8c55c8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 01:00:25 +0000 Subject: [PATCH 2/3] chore(actions): update dependency ubuntu to v24 --- .github/workflows/merge-main.yml | 4 ++-- .github/workflows/prereleased.yml | 14 +++++++------- .github/workflows/pull-request.yml | 8 ++++---- .github/workflows/released.yml | 10 +++++----- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/merge-main.yml b/.github/workflows/merge-main.yml index bdb06ea..8f87eca 100644 --- a/.github/workflows/merge-main.yml +++ b/.github/workflows/merge-main.yml @@ -12,7 +12,7 @@ on: jobs: prepare: name: Calculate Version and Build number - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 outputs: build_number: ${{ steps.short_sha.outputs.value }} @@ -42,7 +42,7 @@ jobs: if: needs.prepare.outputs.new_release == 'true' name: Dev and Draft Releases - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - prepare diff --git a/.github/workflows/prereleased.yml b/.github/workflows/prereleased.yml index 8d98b3f..96f84b0 100644 --- a/.github/workflows/prereleased.yml +++ b/.github/workflows/prereleased.yml @@ -30,7 +30,7 @@ permissions: jobs: cancel_previous: name: 'Cancel Previous Runs' - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 3 steps: @@ -42,7 +42,7 @@ jobs: prepare: name: Prepare - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - cancel_previous @@ -58,7 +58,7 @@ jobs: build-command: name: Build and push the COMMAND version - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - prepare @@ -120,7 +120,7 @@ jobs: build-lambda: name: Build and push LAMBDA version - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - prepare @@ -182,7 +182,7 @@ jobs: update-manifests: name: Update AWS Marketplace - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - prepare @@ -219,13 +219,13 @@ jobs: runs-on: #- self-hosted #- large - - ubuntu-22.04 + - ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: Create SBOM - uses: anchore/sbom-action@v0.17.2 + uses: anchore/sbom-action@v0.17.0 with: upload-artifact-retention: 1 format: cyclonedx-json diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 34b84f4..8e6cbd4 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -26,7 +26,7 @@ permissions: jobs: cancel_previous: name: 'Cancel Previous Runs' - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 3 steps: @@ -37,7 +37,7 @@ jobs: validate: name: Validate - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - cancel_previous @@ -68,13 +68,13 @@ jobs: static-analysis: name: Static Analysis - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: Create SBOM - uses: anchore/sbom-action@v0.17.2 + uses: anchore/sbom-action@v0.17.0 with: upload-artifact-retention: 1 format: cyclonedx-json diff --git a/.github/workflows/released.yml b/.github/workflows/released.yml index 23d4368..b517581 100644 --- a/.github/workflows/released.yml +++ b/.github/workflows/released.yml @@ -26,7 +26,7 @@ permissions: jobs: cancel_previous: name: 'Cancel Previous Runs' - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 3 steps: @@ -38,7 +38,7 @@ jobs: prepare: name: Prepare - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - cancel_previous @@ -68,7 +68,7 @@ jobs: docker-tag-command: name: Docker Tag and Push COMMAND version - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - prepare @@ -92,7 +92,7 @@ jobs: docker-tag-lambda: name: Docker Tag and Push LAMBDA version - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - prepare @@ -116,7 +116,7 @@ jobs: update-manifests: name: Update AWS Marketplace - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - prepare From 3de6c593e167cccb7c25032f44b79df4d3d0a681 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Sep 2025 19:37:50 +0000 Subject: [PATCH 3/3] chore(deps): update swift docker tag to v6 --- .github/workflows/merge-main.yml | 4 ++-- .github/workflows/prereleased.yml | 12 ++++++------ .github/workflows/pull-request.yml | 6 +++--- .github/workflows/released.yml | 10 +++++----- command.Dockerfile | 4 ++-- lambda.Dockerfile | 4 ++-- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/merge-main.yml b/.github/workflows/merge-main.yml index 8f87eca..bdb06ea 100644 --- a/.github/workflows/merge-main.yml +++ b/.github/workflows/merge-main.yml @@ -12,7 +12,7 @@ on: jobs: prepare: name: Calculate Version and Build number - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 outputs: build_number: ${{ steps.short_sha.outputs.value }} @@ -42,7 +42,7 @@ jobs: if: needs.prepare.outputs.new_release == 'true' name: Dev and Draft Releases - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 needs: - prepare diff --git a/.github/workflows/prereleased.yml b/.github/workflows/prereleased.yml index 96f84b0..e9559aa 100644 --- a/.github/workflows/prereleased.yml +++ b/.github/workflows/prereleased.yml @@ -30,7 +30,7 @@ permissions: jobs: cancel_previous: name: 'Cancel Previous Runs' - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 timeout-minutes: 3 steps: @@ -42,7 +42,7 @@ jobs: prepare: name: Prepare - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 needs: - cancel_previous @@ -58,7 +58,7 @@ jobs: build-command: name: Build and push the COMMAND version - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 needs: - prepare @@ -120,7 +120,7 @@ jobs: build-lambda: name: Build and push LAMBDA version - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 needs: - prepare @@ -182,7 +182,7 @@ jobs: update-manifests: name: Update AWS Marketplace - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 needs: - prepare @@ -219,7 +219,7 @@ jobs: runs-on: #- self-hosted #- large - - ubuntu-24.04 + - ubuntu-22.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 8e6cbd4..c777850 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -26,7 +26,7 @@ permissions: jobs: cancel_previous: name: 'Cancel Previous Runs' - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 timeout-minutes: 3 steps: @@ -37,7 +37,7 @@ jobs: validate: name: Validate - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 needs: - cancel_previous @@ -68,7 +68,7 @@ jobs: static-analysis: name: Static Analysis - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/released.yml b/.github/workflows/released.yml index b517581..23d4368 100644 --- a/.github/workflows/released.yml +++ b/.github/workflows/released.yml @@ -26,7 +26,7 @@ permissions: jobs: cancel_previous: name: 'Cancel Previous Runs' - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 timeout-minutes: 3 steps: @@ -38,7 +38,7 @@ jobs: prepare: name: Prepare - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 needs: - cancel_previous @@ -68,7 +68,7 @@ jobs: docker-tag-command: name: Docker Tag and Push COMMAND version - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 needs: - prepare @@ -92,7 +92,7 @@ jobs: docker-tag-lambda: name: Docker Tag and Push LAMBDA version - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 needs: - prepare @@ -116,7 +116,7 @@ jobs: update-manifests: name: Update AWS Marketplace - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 needs: - prepare diff --git a/command.Dockerfile b/command.Dockerfile index cca7869..4eb5889 100644 --- a/command.Dockerfile +++ b/command.Dockerfile @@ -1,7 +1,7 @@ # ================================ # Build image # ================================ -FROM swift:5.9-jammy as builder +FROM swift:6.2-jammy as builder # Set up a build area WORKDIR /build @@ -32,7 +32,7 @@ RUN find -L "$(swift build --package-path /build -c release --show-bin-path)/" - # ================================ # Run image # ================================ -FROM swift:5.9-jammy-slim +FROM swift:6.2-jammy-slim LABEL org.opencontainers.image.source https://github.com/ydataai/aws-asg-tags-lambda diff --git a/lambda.Dockerfile b/lambda.Dockerfile index 8b900a9..98df405 100644 --- a/lambda.Dockerfile +++ b/lambda.Dockerfile @@ -1,7 +1,7 @@ # ================================ # Build image # ================================ -FROM swift:5.9-amazonlinux2 as builder +FROM swift:6.2-amazonlinux2 as builder # Set up a build area WORKDIR /build @@ -32,7 +32,7 @@ RUN find -L "$(swift build --package-path /build -c release --show-bin-path)/" - # ================================ # Run image # ================================ -FROM swift:5.9-amazonlinux2-slim +FROM swift:6.2-amazonlinux2-slim LABEL org.opencontainers.image.source https://github.com/ydataai/aws-asg-tags-lambda