Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TD-470 Move to new docker repo #22

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Build](https://github.com/recognizegroup/symfony-docker/actions/workflows/build.yaml/badge.svg)](https://github.com/recognizegroup/symfony-docker/actions/workflows/build.yaml)

# symfony-docker
Docker image made to run symfony application. Check https://hub.docker.com/r/recognizebv/symfony-docker
Docker image made to run symfony application. Check https://hub.docker.com/r/recognizegroup/symfony-docker

## Available variants
- php7.4, php8.0, php8.1 (PHP Version)
Expand All @@ -12,7 +12,7 @@ Docker image made to run symfony application. Check https://hub.docker.com/r/rec
example:
php8.1-node16-image-dev

[All tags](https://hub.docker.com/r/recognizebv/symfony-docker/tags)
[All tags](https://hub.docker.com/r/recognizegroup/symfony-docker/tags)

## What's here?

Expand All @@ -35,7 +35,7 @@ You can you this docker-compose.yml file to develop:

```
www:
image: recognizebv/symfony-docker:php8.0-dev
image: recognizegroup/symfony-docker:php8.0-dev
volumes:
- ".:/var/www/html"
ports:
Expand Down Expand Up @@ -70,7 +70,7 @@ path: "php://stderr"
You can build production ready image with dockerfile like this:

```
FROM recognizebv/symfony-docker:php8.0
FROM recognizegroup/symfony-docker:php8.0
ADD . /var/www/html
# Add your application build steps here, for example:
# RUN ./var/www/html/web/bin/...
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async function buildImages(docker: Docker, phpVersion: PhpVersion, nodeVersions:
}

async function buildAndPushImage(docker: Docker, phpVersion: PhpVersion, nodeVersion: NodeVersion, imageSupport: boolean, debug: boolean) {
const imageName = 'recognizebv/symfony-docker';
const imageName = 'recognizegroup/symfony-docker';
const tagSuffix = `${phpVersion.webServer === WebServerType.NGINX ? '-nginx' : ''}-node${nodeVersion.major}` + (imageSupport ? '-image' : '') + (debug ? '-dev' : '');
const exactTagName = `php${phpVersion.exactVersion}${tagSuffix}`
const tagName = `php${phpVersion.version}${tagSuffix}`
Expand Down