Skip to content

Commit 4d923a1

Browse files
committed
add --pull to docker build
1 parent b1e6275 commit 4d923a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ install:
1414
- ps: docker version
1515

1616
build_script:
17-
- ps: docker build -t openresty:windows -f windows/Dockerfile .
17+
- ps: docker build --pull -t openresty:windows -f windows/Dockerfile .
1818

1919
test_script:
2020
- cmd: docker run openresty:windows nginx -vt

docker_build_and_push_flavor.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ DOCKER_BUILD_PARAMS="$@"
1717

1818
cat /tmp/docker.pass | docker login -u="$DOCKER_USERNAME" --password-stdin
1919

20-
docker build -t openresty:$FLAVOR -f $DOCKERFILE_PATH $DOCKER_BUILD_PARAMS .
20+
docker build --pull -t openresty:$FLAVOR -f $DOCKERFILE_PATH $DOCKER_BUILD_PARAMS .
2121

2222
if [[ "$TRAVIS_BRANCH" == "master" ]] ; then
2323
cat /tmp/docker.pass | docker login -u="$DOCKER_USERNAME" --password-stdin &&

0 commit comments

Comments
 (0)