Skip to content

Commit

Permalink
ci: fix matrix params usage
Browse files Browse the repository at this point in the history
  • Loading branch information
JGiola committed Feb 2, 2024
1 parent afbf57b commit 3d52206
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
with:
image_path: containers/base
image_name: base-pipeline
image_tag: ${{ matrix.tag }}
build_args: ${{ matrix.build_args }}
image_tag: ${{ matrix.params.tag }}
build_args: ${{ matrix.params.build_args }}
secrets: inherit

rebuild-docker:
Expand All @@ -31,8 +31,8 @@ jobs:
with:
image_path: containers/docker
image_name: docker-pipeline
image_tag: ${{ matrix.tag }}
build_args: ${{ matrix.build_args }}
image_tag: ${{ matrix.params.tag }}
build_args: ${{ matrix.params.build_args }}
secrets: inherit

rebuild-go:
Expand All @@ -51,8 +51,8 @@ jobs:
with:
image_path: containers/go
image_name: golang-pipeline
image_tag: ${{ matrix.tag }}
build_args: ${{ matrix.build_args }}
image_tag: ${{ matrix.params.tag }}
build_args: ${{ matrix.params.build_args }}
secrets: inherit

rebuild-kubernetes:
Expand Down Expand Up @@ -81,8 +81,8 @@ jobs:
with:
image_path: containers/kubernetes
image_name: kubernetes-pipeline
image_tag: ${{ matrix.tag }}
build_args: ${{ matrix.build_args }}
image_tag: ${{ matrix.params.tag }}
build_args: ${{ matrix.params.build_args }}
secrets: inherit

rebuild-node:
Expand All @@ -101,8 +101,8 @@ jobs:
with:
image_path: containers/node
image_name: node-pipeline
image_tag: ${{ matrix.tag }}
build_args: ${{ matrix.build_args }}
image_tag: ${{ matrix.params.tag }}
build_args: ${{ matrix.params.build_args }}
secrets: inherit

rebuild-sysdig:
Expand All @@ -116,6 +116,6 @@ jobs:
with:
image_path: containers/sysdig
image_name: sysdig-pipeline
image_tag: ${{ matrix.tag }}
build_args: ${{ matrix.build_args }}
image_tag: ${{ matrix.params.tag }}
build_args: ${{ matrix.params.build_args }}
secrets: inherit

0 comments on commit 3d52206

Please sign in to comment.