Skip to content

Commit

Permalink
fix: buildx params
Browse files Browse the repository at this point in the history
  • Loading branch information
n4l5u0r committed Sep 28, 2024
1 parent 4618a77 commit 92cae3c
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Docker image
run: |
IMAGE_TAG=ghcr.io/${{ github.repository }}/blooo-ragflow:latest
docker build -t $IMAGE_TAG -f Dockerfile.slim
- name: Push Docker image
run: |
IMAGE_TAG=ghcr.io/${{ github.repository }}/blooo-ragflow:latest
docker push $IMAGE_TAG
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.slim
push: true
tags: ghcr.io/${{ github.repository }}/blooo-ragflow:latest

0 comments on commit 92cae3c

Please sign in to comment.