mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-23 00:56:34 +00:00
7216d07e4d
Made-with: Cursor
16 lines
416 B
YAML
16 lines
416 B
YAML
when:
|
|
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 Dockerfile -t localhost:5000/autopilot:$TAG .
|
|
- docker push localhost:5000/autopilot:$TAG
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|