Commit 1b8c1d85 authored by Đoàn Quốc Huy's avatar Đoàn Quốc Huy

[tag]staging

parent 38166173
Pipeline #43271 failed with stages
in 4 seconds
#!/bin/bash
cd .ci
sudo docker build -t $image_name:base --build-arg -f $docker_path/base.Dockerfile ../
sudo docker build -t $image_name:base -f $docker_path/base.Dockerfile ../
sudo docker logout registry.gitlab.com
echo "$CI_REGISTRY_PW" | sudo docker login registry.gitlab.com -u "$CI_REGISTRY_USER" --password-stdin
sudo echo "$CI_REGISTRY_PW" | docker login registry.gitlab.com -u "$CI_REGISTRY_USER" --password-stdin
sudo docker images
sudo docker push $image_name:base
sudo docker push $image_name:base
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment