Sign inSign up

octopuslabs/gitlab-octopus-cli

Verified Publisher

By Octopus Deploy

Updated 1 day ago

This repository contains a GitLab-compatible Docker image for the new (vNext) Octopus CLI: octopus.

Image
Developer tools
0

10K+

octopuslabs/gitlab-octopus-cli repository overview

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.

Platforms

Images are currently available for:

  • linux/amd64 - based on alpine:latest

Tags

The version tag corresponds to the version of the Octopus CLI installed on the image.

The tags are as follows:

  • Latest
  • [Version] For example 1.3.0
  • Latest-[architecture] For example latest-alpine
  • [Version]-[architecture] For example 1.3.0-alpine

Tags

TagDockerfile
alpineDockerfile

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.

Examples

The image uses the Octopus CLI commands found here. Below are a few examples within GitLab CLI YAML.

octopus release create
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 release deploy
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

Tag summary

Content type

Image

Digest

sha256:eaeaad4ad

Size

15.7 MB

Last updated

1 day ago

docker pull octopuslabs/gitlab-octopus-cli