From d359ebed4c3fbcbc580451b0b41283dd24c2570a Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 20 Jun 2024 00:20:43 +0000 Subject: [PATCH 1/2] fix: fix workflow --- .github/workflows/update_r4rank.yaml | 3 --- .github/workflows/update_r4train.yaml | 3 --- 2 files changed, 6 deletions(-) diff --git a/.github/workflows/update_r4rank.yaml b/.github/workflows/update_r4rank.yaml index efa0b82..cefa4ac 100644 --- a/.github/workflows/update_r4rank.yaml +++ b/.github/workflows/update_r4rank.yaml @@ -5,9 +5,6 @@ on: inputs: tags: description: 'Release Tags' - push: - tags: - - '*' jobs: update_rank: diff --git a/.github/workflows/update_r4train.yaml b/.github/workflows/update_r4train.yaml index 435cf5e..8c1b74b 100644 --- a/.github/workflows/update_r4train.yaml +++ b/.github/workflows/update_r4train.yaml @@ -5,9 +5,6 @@ on: inputs: tags: description: 'Release Tags' - push: - tags: - - '*' jobs: update_train: From b975e082086e20c0714d3989bcc8292c1c301cd5 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 20 Jun 2024 00:25:00 +0000 Subject: [PATCH 2/2] fix:recover recall --- .github/workflows/update-recall.yml | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/update-recall.yml b/.github/workflows/update-recall.yml index e69de29..98faa2b 100644 --- a/.github/workflows/update-recall.yml +++ b/.github/workflows/update-recall.yml @@ -0,0 +1,33 @@ +name: Update Recall + +on: + workflow_dispatch: + inputs: + tags: + description: 'Release Tags' + +jobs: + update_recall: + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v3 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Login to GitHub Container Registry + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASS }} + + - name: Build and push Docker image + uses: docker/build-push-action@v3 + with: + push: true + tags: beclab/r4recall:${{ github.event.inputs.tags }} + file: Dockerfile.recall + platforms: linux/amd64,linux/arm64 \ No newline at end of file