Skip to content
Snippets Groups Projects
Commit b9f2b05a authored by Iñigo Moreno i Caireta's avatar Iñigo Moreno i Caireta
Browse files

Try to fix bug in ddeploy template

parent d84dd068
No related branches found
No related tags found
1 merge request!70Resolve "Update deprecated deploy job"
Pipeline #58771 passed
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
# Run ddeploy # Run ddeploy
- ddeploy --yaml ${DDEPLOY_YAML} - ddeploy --yaml ${DDEPLOY_YAML}
# Get ID of image created by ddeploy # Get ID of image created by ddeploy
- DOCKER_ID=$$(docker images --format='{{.ID}}' | head -1) - DOCKER_ID=$(docker images --format='{{.ID}}' | head -1)
# Tag and push # Tag and push
- docker tag $${DOCKER_ID} ${DOCKER_PUSH_REGISTRY}/${DOCKER_PUSH_NAME}:${DOCKER_PUSH_TAG} - docker tag $${DOCKER_ID} ${DOCKER_PUSH_REGISTRY}/${DOCKER_PUSH_NAME}:${DOCKER_PUSH_TAG}
- docker push ${DOCKER_PUSH_REGISTRY}/${DOCKER_PUSH_NAME}:${DOCKER_PUSH_TAG} - docker push ${DOCKER_PUSH_REGISTRY}/${DOCKER_PUSH_NAME}:${DOCKER_PUSH_TAG}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment