FastGPT icon indicating copy to clipboard operation
FastGPT copied to clipboard

[Sweep GHA Fix] Fix failing GitHub Actions

Open sweep-ai-deprecated[bot] opened this issue 1 year ago • 1 comments

PR Feedback (click)

  • [ ] 👍 Sweep Did Well
  • [ ] 👎 Sweep Needs Improvement I created this PR to fix the failing GitHub Actions.## Description This PR fixes the failing GitHub Actions run by addressing issues related to building and publishing Docker images. The modifications include updating dependencies installation, fixing authentication for GitHub Container Registry, and correcting Docker image tagging and pushing to Docker Hub.

Summary of Changes

  • Modified .github/workflows/fastgpt-image.yml:
    • Updated the Install Dependencies step to use apt-get instead of apt.
    • Updated the Login to GitHub Container Registry step to use the correct registry URL and authentication.
    • Updated the Build and publish image for main branch or tag push event step to use the correct Docker build command.
    • Updated the push-to-docker-hub job to use the correct Docker Hub credentials and image tags.

Please review and merge this PR to fix the failing GitHub Actions run.

Rollback Files For Sweep

  • [ ] Rollback changes to .github/workflows/fastgpt-image.yml
  • [ ] Rollback changes to .github/workflows/fastgpt-image.yml
  • [ ] Rollback changes to .github/workflows/fastgpt-image.yml
  • [ ] Rollback changes to .github/workflows/fastgpt-image.yml
  • [ ] Rollback changes to .github/workflows/fastgpt-image.yml
  • [ ] Rollback changes to .github/workflows/fastgpt-image.yml
  • [ ] Rollback changes to .github/workflows/fastgpt-image.yml
  • [ ] Rollback changes to .github/workflows/fastgpt-image.yml