Skip to content

Commit 4b05743

Browse files
committed
ci: modify git upload atrribute
1 parent d021055 commit 4b05743

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎.github/workflows/CI_master_push.yaml‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@ jobs:
1414
echo "SERVICE=$(echo ${{ github.repository }} | cut -d '/' -f2)" >> $GITHUB_ENV
1515
1616
- name: Upload Docker Image
17-
uses: docker/build-push-action@v1
17+
uses: docker/build-push-action@v2
1818
with:
19-
path: .
20-
repository: immin5/${{ env.SERVICE }}
21-
username: ${{ secrets.DOCKER_USERNAME }}
22-
password: ${{ secrets.DOCKER_PASSWORD }}
23-
tags: latest
19+
context: .
20+
file: ./Dockerfile
21+
push: true
22+
tags: ${{ env.SERVICE }}:latest
2423

2524
- name: Deploy
2625
run: |

0 commit comments

Comments
 (0)