Skip to content

Commit

Permalink
Add multi-stage Dockerfile target
Browse files Browse the repository at this point in the history
The image push action publishes the following images:
- `rancher/hardened-sriov-network-operator`
- `rancher/hardened-sriov-network-config-daemon`
- `rancher/hardened-sriov-network-webhook`

On release these are built as `operator` image when instead they
should build using their own respective image stage targets

Fixup for 1e9cd69
Signed-off-by: Michael Fritch <[email protected]>
  • Loading branch information
mgfritch committed Jul 2, 2024
1 parent 01e83cb commit bce16ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/image-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
context: .
push: true
tags: rancher/hardened-sriov-network-operator:${{ github.event.release.tag_name }}
target: operator
file: Dockerfile
platforms: linux/amd64, linux/arm64
build-args: |
Expand All @@ -59,6 +60,7 @@ jobs:
context: .
push: true
tags: rancher/hardened-sriov-network-config-daemon:${{ github.event.release.tag_name }}
target: config-daemon
file: Dockerfile
platforms: linux/amd64, linux/arm64
build-args: |
Expand All @@ -70,6 +72,7 @@ jobs:
context: .
push: true
tags: rancher/hardened-sriov-network-webhook:${{ github.event.release.tag_name }}
target: webhook
file: Dockerfile
platforms: linux/amd64, linux/arm64
build-args: |
Expand Down

0 comments on commit bce16ce

Please sign in to comment.