go.ligato.io/vpp-agent/v3@v3.5.0/docker/prod/push_image.sh (about)

     1  #!/bin/bash
     2  # Usage: examples
     3  #    ./push_image.sh
     4  #    BRANCH_HEAD_TAG='git describe' ./push_image.sh
     5  #    REPO_OWNER=stanislavchlebec BRANCH_HEAD_TAG=`git describe` ./push_image.sh
     6  #    LOCAL_IMAGE='prod_vpp_agent:latest' IMAGE_NAME='vpp-agent' ./push_image.sh
     7  
     8  # Warning: use only IMMEDIATELY after docker/dev/build.sh to prevent INCONSISTENCIES such as 
     9  #          a) after building image you switch to other branch which will result in mismatch of version of image and its tag
    10  #          b) you do not build the new image but only simply run this script which will result in mismatch version of image and its tag because the image is older than repository 
    11  LOCAL_IMAGE='prod_vpp_agent:latest' IMAGE_NAME='vpp-agent' ../dev/push_image.sh