Skip to content

Commit

Permalink
add needs and fix directory
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiibabanov committed Jun 17, 2024
1 parent 9d93875 commit 27c6541
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend-gateway_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
run: |
chmod +x ./gradlew
- name: Execute Gradle bootBuildImage
run: ./gradlew bootBuildImage --imageName=serhiibabanov/pottery_store:backend-gateway:latest
run: ./gradlew bootBuildImage
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push Docker image to Docker Hub
run: docker push serhiibabanov/pottery_store:backend-gateway:latest
run: docker push pottery_store:backend-gateway:latest
4 changes: 4 additions & 0 deletions backend-gateway/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ dependencyManagement {
tasks.withType<Test> {
useJUnitPlatform()
}

tasks.bootBuildImage {
imageName = "backend-gateway"
}

0 comments on commit 27c6541

Please sign in to comment.