[remote rejected] refs/pull/1/head -> refs/pull/1/head (The current action can only be performed by the[remote rejected] refs/pull/1/merge -> refs/pull/1/merge (The current action can only be perfor
# Stage to pull and push image stage: job1
- docker pull ${SOURCE_IMAGEURI}:${TAG}something with the error that happened in job1
dependencies:
- job1 因此,上面是拉动和推送
当我在CI中构建镜像时,我会使用唯一的SHA标签来推送它。然后,当我将其部署到生产环境中时,我希望将:latest别名更改为指向相同的映像,如下所示:docker tag org/foo:34f8a342问题是,用于部署脚本容器与用于构建脚本的容器不同,因此我在本地没有此镜像。有没有办法在docker hub上添加一个标签别名,而不需要在本地拥有这个镜像?
我正在尝试运行构建并推送到Azure容器注册表的映像。当我再次运行构建时,它抛出错误,将名称替换为docker run。因此,我的问题是如何添加带有容器名称的内部版本号,例如,在下面的jenkinsfile中添加名称"somename_buildnumber“来运行镜像。有人能帮我一下吗?// Pull, Run, and Test on ACS 'stage'...stage('ACS Docker Pull and Run') {