Skip to content

Commit 18fad36

Browse files
author
CssTechnology
authored
Update main.yml
1 parent 16bb85c commit 18fad36

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ jobs:
4242
username: ${{ secrets.JFROG_USERNAME }}
4343
password: ${{ secrets.JFROG_TOKEN }}
4444

45-
- name: Build and Push Docker Image
45+
- name: Build Docker Image
4646
run: |
47-
docker buildx build --tag trialktyenb.jfrog.io/docker-repo/springbootapp:${{ steps.get-version.outputs.version }} --push .
47+
docker build -t trialktyenb.jfrog.io/your-docker-repo/springboot:${{ steps.get-version.outputs.version }} .
48+
49+
- name: Push Docker Image
50+
run: |
51+
docker push trialktyenb.jfrog.io/your-docker-repo/springboot:${{ steps.get-version.outputs.version }}

0 commit comments

Comments
 (0)