Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
holashchand committed Aug 16, 2024
1 parent 5a5a02b commit 86f9f36
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,17 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/docker-layer-cache
key: ${{ runner.os }}-docker-cache-node
restore-keys: |
${{ runner.os }}-docker-cache-node
- name: Build Node Services
env:
CACHE_SRC: type=local,src=/tmp/docker-layer-cache
CACHE_DST: type=local,dest=/tmp/docker-layer-cache
run: make build-node
- name: Publish build artifacts
run: make publish-builds
Expand Down
2 changes: 1 addition & 1 deletion services/credential-schema/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ IMAGE:=local/sunbird-rc-credential-schema
.PHONY: docker publish test

docker:
@docker build -t $(IMAGE) .
@docker build --cache-from=$CACHE_SRC --cache-to=$CACHE_DST -t $(IMAGE) .

publish:
@docker push $(IMAGE)
Expand Down
2 changes: 1 addition & 1 deletion services/credentials-service/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ IMAGE:=local/sunbird-rc-credentials-service
.PHONY: docker publish test

docker:
@docker build -t $(IMAGE) .
@docker build --cache-from=$CACHE_SRC --cache-to=$CACHE_DST -t $(IMAGE) .
publish:
@docker push $(IMAGE)
test:
Expand Down
2 changes: 1 addition & 1 deletion services/identity-service/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ IMAGE:=local/sunbird-rc-identity-service
.PHONY: docker publish test run unseal

docker:
@docker build -t $(IMAGE) .
@docker build --cache-from=$CACHE_SRC --cache-to=$CACHE_DST -t $(IMAGE) .
publish:
@docker push $(IMAGE)
test:
Expand Down

0 comments on commit 86f9f36

Please sign in to comment.