删除的时候,只需要加上镜像名:版本号就行了 [root@echohye ~]# docker rmi 127.0.0.1:5000/echohye:1.1 Untagged: 127.0.0.1:5000/echohye:1.1 [root@echohye ~]# docker rmi localhost:5000/echohye:1.1 Untagged: localhost:5000/echohye:1.1 [root@echohye ~]# docker images REPOSITORY TAG IMAGE ID ...
1. 获取Git Commit ID 在Tekton中,可以通过git-clone任务来获取Git仓库的commit ID。Tekton的git-clone任务会输出一个名为commit的result,该result包含了最新一次提交的commit ID。 2. 将Git Commit ID设置为Docker Image Tag 获取到commit ID后,可以将其设置为Docker image的tag。这通常需要在Tekton的Pipeline中定...