Skip to content

Commit 856d589

Browse files
committed
github actions updated
1 parent a6c1465 commit 856d589

1 file changed

Lines changed: 3 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,15 @@ jobs:
3434
- name: Build
3535
run: pnpm vite build
3636

37-
# - name: Build Docker image
38-
# run: docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/stoneinscription:frontend-latest .
39-
40-
# - name: Log in to Docker Hub
41-
# uses: docker/login-action@v3
42-
# with:
43-
# username: ${{ secrets.DOCKER_USERNAME }}
44-
# password: ${{ secrets.DOCKER_PASSWORD }}
45-
46-
# - name: Push Docker image
47-
# run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/stoneinscription:frontend-latest
48-
4937
- name: Log in to Docker Hub
5038
uses: docker/login-action@v3
5139
with:
52-
username: ${{ secrets.DOCKERHUB_USERNAME }}
53-
password: ${{ secrets.DOCKERHUB_PASSWORD }}
40+
username: ${{ secrets.DOCKER_USERNAME }}
41+
password: ${{ secrets.DOCKER_PASSWORD }}
5442

5543
- name: Build and push Docker image
5644
uses: docker/build-push-action@v6
5745
with:
5846
context: .
5947
push: true
60-
tags: ${{ secrets.DOCKERHUB_USERNAME }}/stoneinscription:frontend-latest
48+
tags: ${{ secrets.DOCKER_USERNAME }}/stoneinscription:frontend-latest

0 commit comments

Comments
 (0)