fix docker login
Explore-Gitea-Actions
Details
Explore-Gitea-Actions
Details
This commit is contained in:
parent
fb99f38f81
commit
c7a63f9165
|
@ -8,6 +8,8 @@ jobs:
|
|||
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "Harbor username ${{ secrets.DOCKER_HUB_USERNAME }}, password ${{ secrets.DOCKER_HUB_PASSWORD }}"
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
-
|
||||
name: Login to Registry
|
||||
uses: docker/login-action@v2
|
||||
|
@ -15,9 +17,6 @@ jobs:
|
|||
registry: artifacts.iflytek.com
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
|
|
Loading…
Reference in New Issue