mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
Fix Docker image build
This commit is contained in:
parent
a6135c4499
commit
6d881c3ac1
@ -79,6 +79,7 @@ ubuntu-18.04-build:
|
|||||||
- make -j2
|
- make -j2
|
||||||
- make install
|
- make install
|
||||||
|
|
||||||
|
|
||||||
docker-gnsssdr:
|
docker-gnsssdr:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
stage: build
|
stage: build
|
||||||
@ -87,13 +88,9 @@ docker-gnsssdr:
|
|||||||
before_script:
|
before_script:
|
||||||
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
|
||||||
- apt-get install -y --no-install-recommends git
|
|
||||||
- mkdir docker-build
|
- mkdir docker-build
|
||||||
- cd docker-build
|
- cd docker-build
|
||||||
- git clone https://github.com/carlesfernandez/docker-gnsssdr
|
- docker build -t --pull carlesfernandez/docker-gnsssdr github.com/carlesfernandez/docker-gnsssdr
|
||||||
- cd docker-gnsssdr
|
|
||||||
- docker build -t --pull carlesfernandez/docker-gnsssdr .
|
|
||||||
- docker push "$CI_REGISTRY_IMAGE"
|
- docker push "$CI_REGISTRY_IMAGE"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user