Skip to content

Commit

Permalink
ci: Bump Docker and CodeQL actions to their latest major series to us…
Browse files Browse the repository at this point in the history
…e Node 20 (#8547)

ci: Bump Docker and CodeQL actions to their latest major series to use
Node 20

* github/codeql-action:

  > The only difference between CodeQL Action v2 and v3 is the version of Node.js on which they run. CodeQL Action v3 runs on Node 20, while CodeQL Action v2 runs on Node 16.

  https://github.com/github/codeql-action?tab=readme-ov-file#supported-versions-of-the-codeql-action
  • Loading branch information
edgarrmondragon committed May 16, 2024
1 parent 3dba128 commit 6d3eeb7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/actions/docker-build-scan-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ runs:
using: 'composite'
steps:
- 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: Prepare the tags
id: prepare-tags
Expand All @@ -43,7 +43,7 @@ runs:
echo "tags=$(echo "${{ inputs.tags }}" | sed "s/^/${{ inputs.registry }}\/meltano\/meltano:/" | tr '\n' ',')" >> $GITHUB_OUTPUT
- name: Build the image for all supported architectures
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: docker/meltano
build-args: |
Expand All @@ -60,7 +60,7 @@ runs:
push: false

- name: Load the amd64 image for scanning
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: docker/meltano
build-args: |
Expand All @@ -87,7 +87,7 @@ runs:
severity-cutoff: "critical"

- name: Upload Anchore scan SARIF report
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.anchore-scan.outputs.sarif }}
category: python-${{ inputs.python-version }}
Expand All @@ -105,15 +105,15 @@ runs:
[ "$NUM_ISSUES" = '0' ] # Error if there are any alerts that are neither fixed nor dismissed
- name: Login to the registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ inputs.registry }}
username: ${{ inputs.username }}
password: ${{ inputs.password }}

- name: Push the scanned image to the registry
if: ${{ inputs.push == 'true' }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: docker/meltano
build-args: |
Expand Down

0 comments on commit 6d3eeb7

Please sign in to comment.