This repository contains a GitLab-compatible Docker image for the new (vNext) Octopus CLI: octopus.
10K+
This repository contains a GitLab-compatible Docker image for the vNext Octopus CLI: octopus.
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:
1.3.0latest-alpine1.3.0-alpine| Tag | Dockerfile |
|---|---|
| alpine | Dockerfile |
You can retrieve a list of all available tags for octopuslabs/gitlab-octopus-cli at https://hub.docker.com/v2/repositories/octopuslabs/gitlab-octopus-cli/tags.
The image uses the Octopus CLI commands found here. Below are a few examples within GitLab CLI YAML.
octopus-create-release:
stage: octopus-create-release
image: octopuslabs/gitlab-octopus-cli
variables:
OCTOPUS_URL: <Octopus Server URL>
OCTOPUS_API_KEY: <API KEY>
OCTOPUS_SPACE: <Space Name>
script:
- VERSION_NUMBER=<Version number>
- octopus release create --project="<Project name>" --version=$VERSION_NUMBER
octopus-deploy-release:
stage: octopus-deploy-release
image: octopuslabs/gitlab-octopus-cli
variables:
OCTOPUS_URL: <Octopus Server URL>
OCTOPUS_API_KEY: <API KEY>
OCTOPUS_SPACE: <Space Name>
script:
- VERSION_NUMBER=<Release Version number>
- octopus release deploy --project="<Project name>" --environment="<Environment name>" --version=$VERSION_NUMBER --output-format=basic| octopus task wait
Content type
Image
Digest
sha256:eaeaad4ad…
Size
15.7 MB
Last updated
1 day ago
docker pull octopuslabs/gitlab-octopus-cli