• Home
  • Raw
  • Download

Lines Matching +full:is +full:- +full:docker

2 set -e
4 # Push docker tags to a configured docker repo, defaulting to quay.io
8 DEFAULT_RELEASE_TARGET="bionic-release" # will allow unprefixed tags
16 # refs/tags/v0.9.6-pre
18 type_name=$4 # build name, s/+/_/g eg, bionic-release
19 os_tag=${5:-18.04} # numeric docker tag eg, 18.04
21 # refname will be either a branch like "master" or "some-branch",
22 # or a tag, like "v1.17.0-pre".
23 # When a tag is pushed, a build is done for both the branch and the tag, as
25 # This is a feature specific to github actions based on the `github.ref` object
34 ${SCRIPT_DIR}/build.sh ${DOCKER_REPO}/${git_repo} ${git_sha}-${type_tag} ${os_tag}
37 docker push ${DOCKER_REPO}/${git_repo}:${git_sha}-${type_tag}
40 docker tag ${DOCKER_REPO}/${git_repo}:${git_sha}-${type_tag} ${DOCKER_REPO}/${git_repo}:${refname}-
41 docker push ${DOCKER_REPO}/${git_repo}:${refname}-${type_tag}
43 # Only push to un-suffixed tags for the default release target build type
48 docker tag ${DOCKER_REPO}/${git_repo}:${git_sha}-${type_tag} ${DOCKER_REPO}/${git_repo}:${refname}
49 docker push ${DOCKER_REPO}/${git_repo}:${refname}
53 echo "This is an edge build on master, pushing ${DOCKER_REPO}/${git_repo}:edge"
54 docker tag ${DOCKER_REPO}/${git_repo}:${git_sha}-${type_tag} ${DOCKER_REPO}/${git_repo}:edge
55 docker push ${DOCKER_REPO}/${git_repo}:edge
57 echo "This is a build on master, pushing ${DOCKER_REPO}/${git_repo}:latest :SHA as well"
58 docker tag ${DOCKER_REPO}/${git_repo}:${git_sha}-${type_tag} ${DOCKER_REPO}/${git_repo}:latest
59docker tag ${DOCKER_REPO}/${git_repo}:${git_sha}-${type_tag} ${DOCKER_REPO}/${git_repo}:${git_sha}
60 docker push ${DOCKER_REPO}/${git_repo}:latest
61 docker push ${DOCKER_REPO}/${git_repo}:${git_sha}