Skip to content

Commit

Permalink
hub.docker.com now builds images from git tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Nov 7, 2015
1 parent 543afed commit 73e6458
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/sameersbn/ubuntu:14.04.20151023
FROM sameersbn/ubuntu:14.04.20151023
MAINTAINER [email protected]

ENV GITLAB_CI_MULTI_RUNNER_USER=gitlab_ci_multi_runner \
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: build

build:
@docker build --tag=quay.io/sameersbn/gitlab-ci-multi-runner .
@docker build --tag=sameersbn/gitlab-ci-multi-runner .

release: build
@docker build --tag=quay.io/sameersbn/gitlab-ci-multi-runner:$(shell cat VERSION) .
@docker build --tag=sameersbn/gitlab-ci-multi-runner:$(shell cat VERSION) .
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Docker Repository on Quay.io](https://quay.io/repository/sameersbn/gitlab-ci-multi-runner/status "Docker Repository on Quay.io")](https://quay.io/repository/sameersbn/gitlab-ci-multi-runner)

# quay.io/sameersbn/gitlab-ci-multi-runner:0.5.5-4
# sameersbn/gitlab-ci-multi-runner:0.5.5-4

- [Introduction](#introduction)
- [Contributing](#contributing)
Expand Down Expand Up @@ -46,10 +46,12 @@ If the above recommendations do not help then [report your issue](../../issues/n

## Installation

Automated builds of the image are available on [Quay.io](https://quay.io/repository/sameersbn/gitlab-ci-multi-runner) and is the recommended method of installation.
Automated builds of the image are available on [Dockerhub](https://hub.docker.com/r/sameersbn/gitlab-ci-multi-runner) and is the recommended method of installation.

> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/gitlab-ci-multi-runner)
```bash
docker pull quay.io/sameersbn/gitlab-ci-multi-runner:0.5.5-4
docker pull sameersbn/gitlab-ci-multi-runner:0.5.5-4
```

Alternatively you can build the image yourself.
Expand All @@ -69,7 +71,7 @@ docker run --name gitlab-ci-multi-runner -d --restart=always \
--volume /opt/gitlab-ci-multi-runner:/home/gitlab_ci_multi_runner/data \
--env='CI_SERVER_URL=http://git.example.com/ci' --env='RUNNER_TOKEN=xxxxxxxxx' \
--env='RUNNER_DESCRIPTION=myrunner' --env='RUNNER_EXECUTOR=shell' \
quay.io/sameersbn/gitlab-ci-multi-runner:0.5.5-4
sameersbn/gitlab-ci-multi-runner:0.5.5-4
```

*Alternatively, you can use the sample [docker-compose.yml](docker-compose.example.yml) file to start the container using [Docker Compose](https://docs.docker.com/compose/)*
Expand All @@ -83,7 +85,7 @@ You can customize the launch command by specifying arguments to `gitlab-ci-multi
```bash
docker run --name gitlab-ci-multi-runner -it --rm \
--volume /opt/gitlab-ci-multi-runner:/home/gitlab_ci_multi_runner/data \
quay.io/sameersbn/gitlab-ci-multi-runner:0.5.5-4 --help
sameersbn/gitlab-ci-multi-runner:0.5.5-4 --help
```

## Persistence
Expand Down Expand Up @@ -128,7 +130,7 @@ To upgrade to newer releases:
1. Download the updated Docker image:

```bash
docker pull quay.io/sameersbn/gitlab-ci-multi-runner:0.5.5-4
docker pull sameersbn/gitlab-ci-multi-runner:0.5.5-4
```

2. Stop the currently running image:
Expand All @@ -148,7 +150,7 @@ To upgrade to newer releases:
```bash
docker run -name gitlab-ci-multi-runner -d \
[OPTIONS] \
quay.io/sameersbn/gitlab-ci-multi-runner:0.5.5-4
sameersbn/gitlab-ci-multi-runner:0.5.5-4
```

## Shell Access
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.example.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GitlabCIMultiRunner:
image: quay.io/sameersbn/gitlab-ci-multi-runner:0.5.5-4
image: sameersbn/gitlab-ci-multi-runner:0.5.5-4
volumes:
- /opt/gitlab-ci-multi-runner:/home/gitlab_ci_multi_runner/data
environment:
Expand Down

0 comments on commit 73e6458

Please sign in to comment.