2026-04-09 00:09:02 +02:00
|
|
|
when:
|
2026-04-10 05:21:37 +02:00
|
|
|
branch: [main, high-performance]
|
2026-04-09 00:09:02 +02:00
|
|
|
event: push
|
|
|
|
|
|
|
|
|
|
steps:
|
2026-04-17 00:09:33 +02:00
|
|
|
- name: login-and-push
|
|
|
|
|
image: docker:28-cli
|
|
|
|
|
environment:
|
2026-04-17 00:35:32 +02:00
|
|
|
REGISTRY_HOSTPORT:
|
|
|
|
|
from_secret: REGISTRY_HOSTPORT
|
2026-04-17 00:09:33 +02:00
|
|
|
REGISTRY_USERNAME:
|
2026-04-14 14:32:28 +02:00
|
|
|
from_secret: REGISTRY_USERNAME
|
2026-04-17 00:09:33 +02:00
|
|
|
REGISTRY_PASSWORD:
|
2026-04-14 14:32:28 +02:00
|
|
|
from_secret: REGISTRY_PASSWORD
|
2026-04-17 00:09:33 +02:00
|
|
|
commands:
|
2026-04-17 00:35:32 +02:00
|
|
|
- echo "${REGISTRY_PASSWORD}" | docker login "${REGISTRY_HOSTPORT}" -u "${REGISTRY_USERNAME}" --password-stdin
|
|
|
|
|
- docker build -t "${REGISTRY_HOSTPORT}/nxtgauge-frontend-solid" -f Dockerfile .
|
|
|
|
|
- docker push "${REGISTRY_HOSTPORT}/nxtgauge-frontend-solid"
|