Skip to content

Commit

Permalink
Merge pull request #7 from beclab/feat/ci
Browse files Browse the repository at this point in the history
ci
  • Loading branch information
kaki-admin authored Jun 7, 2024
2 parents d7239d4 + 8c123a1 commit 706d321
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/prerank_publish_docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish to Dockerhub

on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'

jobs:
update_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- uses: actions/setup-go@v2
with:
go-version: 1.18.3
- 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/r4prerank:${{ github.event.inputs.tags }}
file: Dockerfile.prerank

0 comments on commit 706d321

Please sign in to comment.