refactor(docker_hub): move needs to template
needs should not exists in definition as it is dynamic. moved dockerhub publish to docker template !31
This commit is contained in:
@ -90,7 +90,6 @@
|
||||
fi
|
||||
|
||||
- docker logout docker.io
|
||||
needs: [ "Docker Container" ]
|
||||
environment:
|
||||
name: DockerHub
|
||||
url: $DOCKER_IMAGE_PUBLISH_URL
|
||||
|
@ -32,6 +32,7 @@ Docker Container:
|
||||
|
||||
Docker Hub:
|
||||
extends: .publish-docker-hub
|
||||
needs: [ "Docker Container" ]
|
||||
|
||||
|
||||
Gitlab Release:
|
||||
|
Reference in New Issue
Block a user