Switch to Ko for building docker images
This commit is contained in:
		| @@ -2,17 +2,17 @@ labels: | ||||
|   platform: linux/amd64 | ||||
|  | ||||
| steps: | ||||
|   publish: | ||||
|     image: woodpeckerci/plugin-kaniko | ||||
|     settings: | ||||
|       registry: gitea.elara.ws | ||||
|       repo: elara6331/seashell | ||||
|       tags: latest,${CI_COMMIT_TAG} | ||||
|       cache: false | ||||
|       username: | ||||
|         from_secret: docker_username | ||||
|       password: | ||||
|         from_secret: docker_password | ||||
|   docker: | ||||
|     image: gitea.elara.ws/elara6331/builder | ||||
|     environment: | ||||
|       - REGISTRY=gitea.elara.ws | ||||
|       - REGISTRY_USERNAME=Elara6331 | ||||
|       - KO_DOCKER_REPO=gitea.elara.ws/seashell | ||||
|       - KO_DEFAULTBASEIMAGE=gitea.elara.ws/elara6331/static | ||||
|     secrets: [ registry_password ] | ||||
|     commands: | ||||
|       - registry-login | ||||
|       - ko build -B --platform=linux/amd64,linux/arm64,linux/riscv64 -t latest,${CI_COMMIT_TAG} --sbom=none | ||||
|     when: | ||||
|       event: tag | ||||
|    | ||||
|   | ||||
		Reference in New Issue
	
	Block a user