diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 7b855ff..cc0c7f3 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -112,3 +112,7 @@ jobs: docker tag $IMAGE_NAME $IMAGE_ID:$VERSION # 进行 push docker push $IMAGE_ID:$VERSION + # 再上传一份覆盖latest + docker tag $IMAGE_NAME:$VERSION $IMAGE_ID:latest + docker push $IMAGE_ID:latest +