Skip to content

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Jun 16, 2023
2 parents f9cf6b9 + 4f6871d commit 6d06a21
Showing 1 changed file with 30 additions and 16 deletions.
46 changes: 30 additions & 16 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
# We need all Git history for testing credentials
fetch-depth: 0
# Ensure all submodules up-to-date
submodules: recursive

- name: SAST - Credentials
uses: trufflesecurity/trufflehog@v3.33.0
uses: trufflesecurity/trufflehog@v3.40.0
with:
base: ${{ github.event.repository.default_branch }}
head: HEAD
Expand All @@ -92,7 +92,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
# We need all Git history for "version.sh"
fetch-depth: 0
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
snyk.sarif
- name: Upload results to GitHub Security
uses: github/codeql-action/upload-sarif@v2.2.12
uses: github/codeql-action/upload-sarif@v2.20.0
with:
sarif_file: merged.sarif

Expand All @@ -183,7 +183,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
# Chart Releaser needs to have local access to "gh-pages" plus current branch
fetch-depth: 0
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/[email protected].2
uses: actions/[email protected].3

# Required for running "npx" CLI
- name: Setup Node
Expand Down Expand Up @@ -253,7 +253,7 @@ jobs:
arch: linux/amd64,linux/arm64
steps:
- name: Checkout
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
# We need all Git history for "version.sh"
fetch-depth: 0
Expand Down Expand Up @@ -315,7 +315,7 @@ jobs:
- name: Container meta
id: meta
uses: docker/metadata-action@v4.4.0
uses: docker/metadata-action@v4.6.0
with:
images: |
${{ env.CONTAINER_REGISTRY_GHCR }}/${{ env.CONTAINER_NAME }}
Expand Down Expand Up @@ -349,7 +349,7 @@ jobs:
echo "tag=$tag" >> $GITHUB_OUTPUT
- name: Build & push container
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.1.1
with:
build-args: |
AWS_CLI_VERSION=${{ env.AWS_CLI_VERSION }}
Expand Down Expand Up @@ -407,7 +407,7 @@ jobs:
snyk-*.sarif
- name: Upload results to GitHub Security
uses: github/codeql-action/upload-sarif@v2.2.12
uses: github/codeql-action/upload-sarif@v2.20.0
with:
sarif_file: merged.sarif

Expand All @@ -428,7 +428,7 @@ jobs:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
# We need all Git history for "version.sh"
fetch-depth: 0
Expand Down Expand Up @@ -471,7 +471,7 @@ jobs:
- name: Container meta
id: meta
uses: docker/metadata-action@v4.4.0
uses: docker/metadata-action@v4.6.0
with:
images: |
${{ env.CONTAINER_REGISTRY_GHCR }}/${{ env.CONTAINER_NAME }}
Expand Down Expand Up @@ -578,7 +578,7 @@ jobs:
${{ steps.tag.outputs.tag }}
- name: Upload results to GitHub Security
uses: github/codeql-action/upload-sarif@v2.2.12
uses: github/codeql-action/upload-sarif@v2.20.0
with:
sarif_file: snyk.sarif

Expand All @@ -589,7 +589,7 @@ jobs:
image: returntocorp/semgrep
steps:
- name: Checkout
uses: actions/[email protected].2
uses: actions/[email protected].3

- name: Run tests
# Semgrep can be used to break the build when it detects security issues. In this case we want to upload the issues to GitHub Security
Expand All @@ -599,7 +599,7 @@ jobs:
run: semgrep ci --sarif --output=semgrep.sarif

- name: Upload results to GitHub Security
uses: github/codeql-action/upload-sarif@v2.2.12
uses: github/codeql-action/upload-sarif@v2.20.0
with:
sarif_file: semgrep.sarif

Expand All @@ -610,13 +610,27 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/[email protected].2
uses: actions/[email protected].3

- name: Setup ORAS
uses: oras-project/[email protected]
with:
version: ${{ env.ORAS_VERSION }}

- name: Login to registry - GitHub
uses: docker/[email protected]
with:
registry: ${{ env.CONTAINER_REGISTRY_GHCR }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to registry - Docker Hub
uses: docker/[email protected]
with:
registry: ${{ env.CONTAINER_REGISTRY_DOCKER_HUB }}
username: clemlesne
password: ${{ secrets.DOCKER_HUB_PAT }}

- name: Push to registry
run: |
oras push \
Expand Down

0 comments on commit 6d06a21

Please sign in to comment.