fix docker login
Explore-Gitea-Actions
Details
Explore-Gitea-Actions
Details
This commit is contained in:
parent
f88d901e1f
commit
0f606b1e33
|
@ -18,10 +18,16 @@ jobs:
|
|||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
push: true
|
||||
tags: artifacts.iflytek.com/docker-private/ai_devops/gitea_actions:latest
|
||||
run: |
|
||||
docker version
|
||||
docker build -t artifacts.iflytek.com/docker-private/ai_devops/gitea_actions:latest .
|
||||
docker push artifacts.iflytek.com/docker-private/ai_devops/gitea_actions:latest
|
||||
# -
|
||||
# name: Build and push
|
||||
# uses: docker/build-push-action@v4
|
||||
# with:
|
||||
# push: true
|
||||
# tags: artifacts.iflytek.com/docker-private/ai_devops/gitea_actions:latest
|
||||
- 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
|
||||
|
|
Loading…
Reference in New Issue