fix docker login
Explore-Gitea-Actions Details

This commit is contained in:
Mr-lixh 2023-03-27 15:22:41 +08:00
parent 1d938e7aaf
commit b0801bbf94
1 changed files with 4 additions and 0 deletions

View File

@ -20,8 +20,12 @@ jobs:
name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: artifacts.iflytek.com/docker-private/ai_devops/xhli18/gitea_actions:latest
registry: artifacts.iflytek.com
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3