Skip to content

Commit

Permalink
feat: add matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgfr committed Mar 8, 2022
1 parent 8a054d3 commit 9e2f2f3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,21 @@ jobs:
register:
name: Register images
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- images: "cdtn-admin-frontend"
path: "./targets/frontend"
steps:
- name: Register docker image for frontend
uses: SocialGouv/actions/autodevops-build-register@local-cache-cdtn
with:
project: "cdtn-admin"
imageName: cdtn-admin/cdtn-admin-frontend
imageName: cdtn-admin/${{ matrix.images }}
token: ${{ secrets.GITHUB_TOKEN }}
dockerfile: "./targets/frontend/Dockerfile"
dockercontext: "./targets/frontend/"
dockerfile: "${{ matrix.path }}/Dockerfile"
dockercontext: "${{ matrix.path }}/"

trivy:
name: Run trivy
Expand Down

0 comments on commit 9e2f2f3

Please sign in to comment.