Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
moved Dockerfiles to build/
Browse files Browse the repository at this point in the history
  • Loading branch information
begelundmuller committed Feb 12, 2020
1 parent 7a5574c commit 2252505
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ __pycache__
*.pyc
*.pyd
*.pyo
build
dist
node_modules
npm-debug.log
Expand Down
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ build_frontend:
IMAGE: gcr.io/beneathcrypto/frontend
script:
- docker pull ${IMAGE}:latest || true
- docker build -f ./web/Dockerfile -t ${IMAGE}:latest -t ${IMAGE}:${CI_COMMIT_SHORT_SHA} --cache-from ${IMAGE}:latest ./web
- docker build -f ./build/web/Dockerfile -t ${IMAGE}:latest -t ${IMAGE}:${CI_COMMIT_SHORT_SHA} --cache-from ${IMAGE}:latest ./web
- docker push ${IMAGE}:${CI_COMMIT_SHORT_SHA}
- docker push ${IMAGE}:latest

.build_go:
script:
- docker pull ${IMAGE}:builder || true
- docker build -f ./${CMD_NAME}.Dockerfile --target builder -t ${IMAGE}:builder --cache-from ${IMAGE}:builder .
- docker build -f ./${CMD_NAME}.Dockerfile -t ${IMAGE}:latest -t ${IMAGE}:${CI_COMMIT_SHORT_SHA} --cache-from ${IMAGE}:builder .
- docker build -f ./build/${CMD_NAME}/Dockerfile --target builder -t ${IMAGE}:builder --cache-from ${IMAGE}:builder .
- docker build -f ./build/${CMD_NAME}/Dockerfile -t ${IMAGE}:latest -t ${IMAGE}:${CI_COMMIT_SHORT_SHA} --cache-from ${IMAGE}:builder .
- docker push ${IMAGE}:${CI_COMMIT_SHORT_SHA}
- docker push ${IMAGE}:latest
- docker push ${IMAGE}:builder
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2252505

Please sign in to comment.