mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-04-23 03:16:38 +00:00
17 lines
480 B
YAML
17 lines
480 B
YAML
when:
|
|
event: [push, manual]
|
|
branch: [dev, stage, main]
|
|
|
|
labels:
|
|
platform: arm64
|
|
|
|
steps:
|
|
- name: build-push
|
|
image: docker
|
|
commands:
|
|
- if [ "$CI_COMMIT_BRANCH" = "main" ]; then export TAG=arm; else export TAG=${CI_COMMIT_BRANCH}-arm; fi
|
|
- docker build -f SatelliteProvider.Api/Dockerfile -t localhost:5000/satellite-provider:$TAG .
|
|
- docker push localhost:5000/satellite-provider:$TAG
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|