Skip to content

Commit 036c472

Browse files
author
CssTechnology
authored
Update main.yml
1 parent 66b540a commit 036c472

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/main.yml

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

45-
- name: Build and push Docker image
46-
uses: docker/build-push-action@v3
47-
with:
48-
context: .
49-
push: true
50-
tags: |
51-
trialktyenb.jfrog.io/docker-repo/myimage:${{ steps.get-version.outputs.version }}
52-
45+
- name: Build and Push Docker Image
46+
run: |
47+
docker buildx build --tag trialktyenb.jfrog.io/docker-repo/myimage:${{ steps.get-version.outputs.version }} --push .

0 commit comments

Comments
 (0)