File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 9
9
- push docker images
10
10
11
11
before_script :
12
- - sleep 15
13
12
- sudo apt-get install -y curl shellcheck
14
13
- docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
15
14
# #Upgrade to Docker CE 19.03 for BuildKit support
Original file line number Diff line number Diff line change 19
19
docker login -u " ${DNAME} " -p " ${DPASS} " ;
20
20
# Push image to docker hub
21
21
echo " Pushing ${REPONAME} /${IMGNAME} :${IMGTAG} ..." ;
22
- docker buildx build --file build/ Dockerfile --push --progress plane --platform linux/arm64,linux/amd64 --no-cache --tag ${REPONAME} /${IMGNAME} :${IMGTAG} .
22
+ docker buildx build --file Dockerfile --push --progress plane --platform linux/arm64,linux/amd64 --no-cache --tag ${REPONAME} /${IMGNAME} :${IMGTAG} .
23
23
if [ ! -z " ${TRAVIS_TAG} " ] ;
24
24
then
25
25
# Push with different tags if tagged as a release
26
26
# When github is tagged with a release, then Travis will
27
27
# set the release tag in env TRAVIS_TAG
28
28
echo " Pushing ${REPONAME} /${IMGNAME} :${TRAVIS_TAG} ..." ;
29
- docker buildx build --file build/ Dockerfile --push --progress plane --platform linux/arm64,linux/amd64 --no-cache --tag ${REPONAME} /${IMGNAME} :${TRAVIS_TAG} .
29
+ docker buildx build --file Dockerfile --push --progress plane --platform linux/arm64,linux/amd64 --no-cache --tag ${REPONAME} /${IMGNAME} :${TRAVIS_TAG} .
30
30
echo " Pushing ${REPONAME} /${IMGNAME} :latest ..." ;
31
- docker buildx build --file build/ Dockerfile --push --progress plane --platform linux/arm64,linux/amd64 --no-cache --tag ${REPONAME} /${IMGNAME} :latest .
31
+ docker buildx build --file Dockerfile --push --progress plane --platform linux/arm64,linux/amd64 --no-cache --tag ${REPONAME} /${IMGNAME} :latest .
32
32
fi ;
33
33
else
34
34
echo " No docker credentials provided. Skip uploading ${REPONAME} /${IMGNAME} :${IMGTAG} to docker hub" ;
You can’t perform that action at this time.
0 commit comments