Skip to content

Commit

Permalink
move back to 'imagePullPolicy: Always'
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-usui committed Apr 24, 2022
1 parent c296524 commit 43b7d82
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ build-backend:
script:
- docker build -t "${CI_REGISTRY_IMAGE}/bt-backend${tag}" $FILEPATH_LOCAL_DOCKER_COMPOSE_BACKEND
- docker push "${CI_REGISTRY_IMAGE}/bt-backend${tag}"
- docker pull "${CI_REGISTRY_IMAGE}/bt-backend${tag}" # assumes that Docker socket for building is same as Docker used for deployment: fine for single node, not so much multiple k8s nodes, rationale: to refresh image tag, but still keep simplicity of 'image: $branch' and 'imagePullPolicy: IfNotPresent'

build-frontend:
stage: build
Expand All @@ -43,7 +42,6 @@ build-frontend:
script:
- docker build -t "${CI_REGISTRY_IMAGE}/bt-frontend${tag}" $FILEPATH_LOCAL_DOCKER_COMPOSE_FRONTEND
- docker push "${CI_REGISTRY_IMAGE}/bt-frontend${tag}"
- docker pull "${CI_REGISTRY_IMAGE}/bt-frontend${tag}" # assumes that Docker socket for building is same as Docker used for deployment: fine for single node, not so much multiple k8s nodes, rationale: to refresh image tag, but still keep simplicity of 'image: $branch' and 'imagePullPolicy: IfNotPresent'

deploy-dev:
stage: deploy-dev
Expand Down

0 comments on commit 43b7d82

Please sign in to comment.