Publish multi-platform images
This commit is contained in:
@@ -53,6 +53,7 @@ jobs:
|
||||
- name: Build and Push Image
|
||||
env:
|
||||
KO_DEFAULTBASEIMAGE: gcr.io/distroless/static-debian12:nonroot
|
||||
KO_DEFAULTPLATFORMS: linux/amd64,linux/arm64
|
||||
run: |
|
||||
push_host="$(git remote get-url origin | sed -E 's#^[a-z]+://([^/]+)/.*#\1#')"
|
||||
export KO_DOCKER_REPO="${push_host}/${GITHUB_REPOSITORY}"
|
||||
|
||||
Reference in New Issue
Block a user