This repository contains a GitLab-compatible Docker image for the legacy Octopus CLI: octo.
50K+
This repository contains a GitLab-compatible Docker image for the legacy Octopus CLI: octo.
The legacy Octopus CLI is no longer under feature development. All feature development of the Octopus CLI is being done in the updated cli. This tool will continue to be supported for security patches until July 2023.
Please note: This is part of the Octopus Labs organization and is not officially supported. Please do not contact support if there are any issues with these images.
Images are currently available for:
alpine:latestThe version tag corresponds to the version of the Octopus CLI installed on the image.
The tags are as follows:
9.1.7latest-alpine9.1.7-alpine| Tag | Dockerfile |
|---|---|
| alpine | Dockerfile |
You can retrieve a list of all available tags for octopuslabs/gitlab-octocli at https://hub.docker.com/v2/repositories/octopuslabs/gitlab-octocli/tags.
The image uses the Octopus CLI commands found here. Below are a few examples within GitLab CLI YAML.
See this blog post for an example of how to construct the build information file using GitLab
push-build-information:
stage: push-build-information
image: octopuslabs/gitlab-octocli
script:
- octo build-information --package-id=<Package Id> --version=<Version Numbmber> --file=BuildInformation.json --server="<Octopus Server URL>" --apiKey="<API KEY>" --space="<Space Name>"
create-release:
stage: create-release
image: octopuslabs/gitlab-octocli
script:
- octo create-release --project=<Project Name> [--version=<Version Numbmber>] --server="<Octopus Server URL>" --apiKey="<API KEY>" --space="<Space Name>"
deploy-release:
stage: deploy-release
image: octopuslabs/gitlab-octocli
script:
- octo deploy-release --project=<Project Name> --releaseNumber=<Release Number> --deployto="<EnvironmentName>" --server="<Octopus Server URL>" --apiKey="<API KEY>" --space="<Space Name>"
Content type
Image
Digest
sha256:1bd85eaf2…
Size
38.7 MB
Last updated
over 3 years ago
docker pull octopuslabs/gitlab-octocli