Git Lab CI for docker build enabled! You can enable it using .gitlab-ci.yml in your project. Check file template at https://gitlab.bio.di.uminho.pt/snippets/5

Commit d222c939 authored by Ruben Rodrigues's avatar Ruben Rodrigues
Browse files

Merge branch 'ru13en-master-patch-94511' into 'master'

Update README.md

See merge request !2
parents 8abd4f4e 27a00afd
......@@ -23,7 +23,7 @@ to build a container using [Docker](https://www.docker.com/) or [Podman](https:/
We assume that you already have a GitLab account on [gitLab.bio.di.uminho.pt](http://gitlab.bio.di.uminho.pt/), and that you know the basic usage of Git, [GitLab CI/CD](https://about.gitlab.com/stages-devops-lifecycle/continuous-integration/) and [Docker](https://www.docker.com/).
You'll use this project as example to test Gitlab CI using Docker or Podman and our internal Container Registry.
You'll use this project as example to test Gitlab CI using Docker/Buildah and our internal Container Registry/Dockerhub.
## Create the Project
......@@ -65,7 +65,7 @@ and add the following ones (replace them with your current values, of course):
**!!! Only set this variables if you will upload the image to DockerHub!!**
- **CI_REGISTRY_USER**: `dockerhubuser` (DockerHub Username)
- **CI_REGISTRY_PASSWORD**: `nexususer` (DockerHub Password)
- **CI_REGISTRY_PASSWORD**: `dockerhubpassword` (DockerHub Password)
- **CI_REGISTRY**: `docker.io` (By default DockerHub registy url is docker.io, it must be set)
- **CI_REGISTRY_IMAGE**: `dockerhubuser/projectname` (Registy image tag from dockerhub repostory created after this [step](https://docs.docker.com/docker-hub/repos/))
......@@ -138,7 +138,7 @@ deploy:
only:
- master
```
The runner uses the latest [Docker image](https://hub.docker.com/_/buildah/),
The runner uses the latest [Buildah image](https://hub.docker.com/_/buildah/),
which contains all of the tools and dependencies needed to manage the project
and to run the jobs.
......
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