mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-30 19:04:51 +00:00
Add Docker image build
This commit is contained in:
parent
c9f519151f
commit
d098a56ca6
@ -79,6 +79,20 @@ ubuntu-18.04-build:
|
|||||||
- make -j2
|
- make -j2
|
||||||
- make install
|
- make install
|
||||||
|
|
||||||
|
docker-gnsssdr:
|
||||||
|
image: docker:latest
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
|
before_script:
|
||||||
|
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||||
|
script:
|
||||||
|
- mkdir docker-build
|
||||||
|
- cd docker-build
|
||||||
|
- git clone https://github.com/carlesfernandez/docker-gnsssdr
|
||||||
|
- cd docker-gnsssdr
|
||||||
|
- docker build -t --pull carlesfernandez/docker-gnsssdr .
|
||||||
|
- docker push "$CI_REGISTRY_IMAGE"
|
||||||
|
|
||||||
|
|
||||||
# Stage "test"
|
# Stage "test"
|
||||||
run-test:
|
run-test:
|
||||||
|
Loading…
Reference in New Issue
Block a user