fix docker login
Explore-Gitea-Actions Details

This commit is contained in:
Mr-lixh 2023-03-27 14:50:24 +08:00
parent 53b4eabcd3
commit 39e97cdc15
1 changed files with 7 additions and 8 deletions

View File

@ -9,14 +9,13 @@ jobs:
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- run: docker login -u a601287411 -p 'dckr_pat_rkEiSTzd7JtPPbkrHf28oNiZnyQ'
# -
# name: Login to Registry
# uses: docker/login-action@v2
# with:
# # registry: artifacts.iflytek.com
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
# password: ${{ secrets.DOCKER_HUB_PASSWORD }}
-
name: Login to Registry
uses: docker/login-action@v2
with:
# registry: artifacts.iflytek.com
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
-
name: Build and push
uses: docker/build-push-action@v4