test push image
Explore-Gitea-Actions Details

This commit is contained in:
xhli18 2023-03-27 10:11:53 +08:00
parent bf9cc6cd96
commit 9c7b9ff5d7
1 changed files with 7 additions and 1 deletions

View File

@ -10,11 +10,17 @@ jobs:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
push: false
push: true
tags: artifacts.iflytek.com/docker-private/atp/whybeyoung/yolov5:latest
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code