mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-04-22 09:26:39 +00:00
CI: main tag without prefix
Made-with: Cursor
This commit is contained in:
@@ -8,7 +8,8 @@ steps:
|
||||
- name: build-push
|
||||
image: docker
|
||||
commands:
|
||||
- docker build -f SatelliteProvider.Api/Dockerfile -t localhost:5000/satellite-provider:${CI_COMMIT_BRANCH}-arm .
|
||||
- docker push localhost:5000/satellite-provider:${CI_COMMIT_BRANCH}-arm
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user