Commit 75658e47 authored by Tobias Munk's avatar Tobias Munk

use image name from compose file (v2 syntax)

parent 0ee65339
Pipeline #8478 failed with stages
......@@ -10,7 +10,7 @@ CURRENT_VERSION=$(git describe --always)
docker login --username="${REGISTRY_USER}" --password="${REGISTRY_PASS}" --email reg@h17n.de "${REGISTRY_HOST}"
# Create and push :latest
docker tag "${COMPOSE_PROJECT_NAME}_php" "${IMAGE_NAME}":latest
docker tag "local/phd/app:${BUILD_PREFIX}" "${IMAGE_NAME}":latest
docker push "${IMAGE_NAME}":latest
# Create and push :<CURRENT_VERSION>
......
......@@ -4,7 +4,7 @@ version: '2'
services:
php:
build: .
image: local/myapp/php:${BUILD_PREFIX}
image: local/phd/app:${BUILD_PREFIX}
depends_on:
- db
networks:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment