ci: revert frontend to direct kaniko build (no crane)
This commit is contained in:
parent
d26f0bf1a9
commit
736292dbab
1 changed files with 1 additions and 11 deletions
|
|
@ -3,17 +3,6 @@ when:
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: mirror-base-images
|
|
||||||
image: gcr.io/go-containerregistry/crane:debug
|
|
||||||
environment:
|
|
||||||
REG_USER:
|
|
||||||
from_secret: REGISTRY_USERNAME
|
|
||||||
REG_PASS:
|
|
||||||
from_secret: REGISTRY_PASSWORD
|
|
||||||
commands:
|
|
||||||
- crane auth login registry.nxtgauge.com -u "$REG_USER" -p "$REG_PASS"
|
|
||||||
- crane copy docker.io/library/node:20-alpine registry.nxtgauge.com/node:20-alpine
|
|
||||||
|
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
image: woodpeckerci/plugin-kaniko:2.1.1
|
image: woodpeckerci/plugin-kaniko:2.1.1
|
||||||
settings:
|
settings:
|
||||||
|
|
@ -21,6 +10,7 @@ steps:
|
||||||
repo: nxtgauge-frontend-solid
|
repo: nxtgauge-frontend-solid
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
tags:
|
tags:
|
||||||
|
- ${CI_COMMIT_SHA}
|
||||||
- latest
|
- latest
|
||||||
- high-performance-latest
|
- high-performance-latest
|
||||||
username:
|
username:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue