mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 20:50: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 install
|
||||
|
||||
|
||||
docker-gnsssdr:
|
||||
image: docker:latest
|
||||
stage: build
|
||||
@ -87,13 +88,9 @@ docker-gnsssdr:
|
||||
before_script:
|
||||
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||
script:
|
||||
- apt-get update
|
||||
- apt-get install -y --no-install-recommends git
|
||||
- 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 build -t --pull carlesfernandez/docker-gnsssdr github.com/carlesfernandez/docker-gnsssdr
|
||||
- docker push "$CI_REGISTRY_IMAGE"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user