Skip to content

Commit

Permalink
Clarify installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson authored May 5, 2023
1 parent c63ea2a commit e420381
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

The docker registry artifact plugin provides a way to push and pull docker images on GoCD

## Building the code base

To build the jar, run `./gradlew clean test assemble`

## Getting started

### Requirements
Expand All @@ -16,9 +12,8 @@ To build the jar, run `./gradlew clean test assemble`

### Installation

Build the plugin with `./gradlew clean test assemble`

Copy the file `build/libs/docker-registry-artifact-plugin-VERSION.jar` to the GoCD server under `${GO_SERVER_DIR}/plugins/external` and restart the server. The `GO_SERVER_DIR` is usually `/var/lib/go-server` on Linux and `C:\Program Files\Go Server` on Windows.
* Download the right version of the plugin from [the Releases](https://github.com/gocd/docker-registry-artifact-plugin/releases) page. The direct link to the latest released version is: https://github.com/gocd/docker-registry-artifact-plugin/releases/latest
* Copy the file `build/libs/docker-registry-artifact-plugin-VERSION.jar` to the GoCD server under `${GO_SERVER_DIR}/plugins/external` and restart the server. * The `GO_SERVER_DIR` is usually `/var/lib/go-server` on Linux and `C:\Program Files\Go Server` on Windows.

### Configuration

Expand Down Expand Up @@ -160,6 +155,10 @@ docker run -e "GOCD_SERVER_JVM_OPTIONS=-Dplugin.cd.go.artifact.docker.registry.l
wrapper.java.additional.16=-Dplugin.cd.go.artifact.docker.registry.log.level=debug
```
## Building the code base
To build the jar, run `./gradlew clean test assemble`
## License
```plain
Expand Down

0 comments on commit e420381

Please sign in to comment.