fix docker login
Explore-Gitea-Actions
Details
Explore-Gitea-Actions
Details
This commit is contained in:
parent
53b4eabcd3
commit
39e97cdc15
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue