fix: 不再兼容老旧逻辑,修复使用身份信息时出现不可用的情况 #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Docker Image | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
github: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Login to github registry | |
uses: actions-hub/docker/login@master | |
env: | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build :latest | |
if: success() | |
run: docker build -t weaigc/bingo:latest . | |
- name: Push to docker hub :latest | |
if: success() | |
uses: actions-hub/docker@master | |
with: | |
args: push weaigc/bingo:latest |