File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -45,22 +45,14 @@ jobs:
4545
4646 echo "Using: ${DOCKER_REPOSITORY}/*:${DOCKER_TAG}"
4747
48- - name : " Pull previous Docker container image: backend:latest"
49- run : docker pull "${DOCKER_REPOSITORY}/backend:latest" || true
50-
5148 - name : " Build Docker container image: backend:latest"
5249 run : |
5350 cd server
5451 docker build \
55- --cache-from "${DOCKER_REPOSITORY}/backend:latest" \
5652 --file Dockerfile.prod \
57- --tag "${DOCKER_REPOSITORY}/backend:latest" \
5853 --tag "${DOCKER_REPOSITORY}/backend:${DOCKER_TAG}" \
5954 .
6055 cd ..
6156
62- - name : Push Docker container image backend:latest
63- run : docker push "${DOCKER_REPOSITORY}/backend:latest"
64-
6557 - name : Push Docker container image backend:${DOCKER_TAG}
6658 run : docker push "${DOCKER_REPOSITORY}/backend:${DOCKER_TAG}"
You can’t perform that action at this time.
0 commit comments