Skip to content

Commit

Permalink
fix CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
sameersubudhi committed Jan 20, 2025
1 parent e6fa1c2 commit c2df87a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@ jobs:
uses: aws-actions/amazon-ecr-login@62f4f872db3836360b72999f4b87f1ff13310f3a

- name: Build docker image
run: make jib
run: make jib-docker

- name: Push Docker images to Amazon ECR
run: |
docker push --all-tags liskhq/dshackle
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ test: build-foundation
./gradlew check

local-docker: Dockerfile
docker build -t drpc-dshackle .
docker build -t liskhq-dshackle .

jib: build-foundation local-docker
./gradlew jib -Pdocker=drpcorg
./gradlew jib -Pdocker=liskhq

jib-docker: build-foundation local-docker
./gradlew jibDockerBuild -Pdocker=drpcorg
./gradlew jibDockerBuild -Pdocker=liskhq

distZip: build-foundation
./gradlew disZip
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ application {

jib {
from {
image = 'docker://drpc-dshackle'
image = 'docker://liskhq-dshackle'
}
to {
// by default publish as:
Expand Down

0 comments on commit c2df87a

Please sign in to comment.