File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 if-no-files-found : error
3030
3131 push-docker-image :
32+ needs :
33+ - build
34+ - build-wasm
3235 runs-on : library/default-vm
3336 steps :
3437 - uses : actions/checkout
38+ - uses : actions/downloadArtifact
39+ with :
40+ name : ovhcloud
3541 - run : docker build -t ovhcloud-cli/ovhcloud .
3642 - uses : actions/dockerPush
3743 with :
4046
4147 release :
4248 needs :
43- - build
44- - build-wasm
4549 - push-docker-image
4650 if : git.ref_name == 'main'
4751 runs-on :
Original file line number Diff line number Diff line change 1+ FROM alpine:latest
2+
3+ VOLUME ["/config" ]
4+ WORKDIR /config
5+
6+ RUN apk update && \
7+ apk add --no-cache tzdata ca-certificates && \
8+ rm -rf /var/cache/apk/*
9+
10+ COPY ./ovhcloud /usr/local/bin/ovhcloud
11+
12+ ENTRYPOINT ["ovhcloud" ]
13+ CMD ["--help" ]
Original file line number Diff line number Diff line change 1111# Table of Contents
1212
1313- [ Installation] ( #installation )
14+ - [ Binary download] ( #binary-download )
15+ - [ Run with Docker] ( #run-with-docker )
1416- [ Usage] ( #usage )
1517 - [ Authenticating the CLI] ( #authenticating-the-cli )
1618 - [ Examples] ( #examples )
2325
2426# Installation
2527
28+ ## Binary download
29+
26301 . Download [ latest release] ( https://github.com/ovh/ovhcloud-cli/releases/latest )
27312 . Untar / unzip the archive
28323 . Add the containing folder to your ` PATH ` environment variable
2933
34+ ## Run with Docker
35+
36+ You can also run the CLI using Docker:
37+
38+ ``` bash
39+ docker run -it --rm -v ovhcloud-cli-config-files:/config ovhcom/ovhcloud-cli login
40+ ```
41+
3042# Usage
3143
3244``` bash
You can’t perform that action at this time.
0 commit comments