Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
n4l5u0r authored Sep 27, 2024
1 parent a0348cd commit c992b46
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand All @@ -32,8 +26,10 @@ jobs:

- name: Build Docker image
run: |
docker build -t ghcr.io/${{ github.repository }}/blooo-ragflow:latest .
IMAGE_TAG=ghcr.io/${{ github.repository }}/blooo-ragflow:latest
docker build -t $IMAGE_TAG .
- name: Push Docker image
run: |
docker push ghcr.io/${{ github.repository }}/blooo-ragflow:latest
IMAGE_TAG=ghcr.io/${{ github.repository }}/blooo-ragflow:latest
docker push $IMAGE_TAG

0 comments on commit c992b46

Please sign in to comment.