Skip to content

Commit 2680de0

Browse files
committed
Added base image, similar to operator to support multi-arch
1 parent d15a564 commit 2680de0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build-and-push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ jobs:
107107
platforms: linux/amd64,linux/arm64
108108
push: ${{ github.event_name != 'workflow_dispatch' || inputs.push_image }}
109109
tags: ${{ steps.harbor_tags.outputs.operator_tags }}
110+
build-args: BASE_IMAGE=alpine:3
110111
cache-from: type=gha
111112
cache-to: type=gha,mode=max
112113

@@ -119,6 +120,7 @@ jobs:
119120
platforms: linux/amd64,linux/arm64
120121
push: ${{ github.event_name != 'workflow_dispatch' || inputs.push_image }}
121122
tags: ${{ steps.harbor_tags.outputs.logical_backup_tags }}
123+
build-args: BASE_IMAGE=ubuntu:22.04
122124
cache-from: type=gha
123125
cache-to: type=gha,mode=max
124126

0 commit comments

Comments
 (0)