mirror of
https://github.com/Traceworks2023/nxtgauge-ai-assistant.git
synced 2026-06-10 20:01:29 +00:00
ci: use only latest and high-performance-latest tags for ai-assistant
This commit is contained in:
parent
92e2d42d5c
commit
748d5afd8e
1 changed files with 15 additions and 14 deletions
|
|
@ -3,20 +3,21 @@ when:
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: login-registry
|
|
||||||
image: alpine:3.20
|
|
||||||
commands:
|
|
||||||
- echo "${REGISTRY_PASSWORD}" | docker login registry.nxtgauge.com -u "${REGISTRY_USERNAME}" --password-stdin
|
|
||||||
|
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
image: docker:28-cli
|
image: woodpeckerci/plugin-kaniko:2.1.1
|
||||||
volumes:
|
settings:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
registry: registry.nxtgauge.com
|
||||||
environment:
|
repo: nxtgauge-ai-assistant
|
||||||
REGISTRY_USERNAME:
|
dockerfile: Dockerfile
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- high-performance-latest
|
||||||
|
username:
|
||||||
from_secret: REGISTRY_USERNAME
|
from_secret: REGISTRY_USERNAME
|
||||||
REGISTRY_PASSWORD:
|
password:
|
||||||
from_secret: REGISTRY_PASSWORD
|
from_secret: REGISTRY_PASSWORD
|
||||||
commands:
|
insecure: true
|
||||||
- docker build -t registry.nxtgauge.com/nxtgauge-ai-assistant:latest -f Dockerfile .
|
insecure_pull: true
|
||||||
- docker push registry.nxtgauge.com/nxtgauge-ai-assistant:latest
|
skip_tls_verify: true
|
||||||
|
platforms: linux/amd64
|
||||||
|
cache: false
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue