Skip to content

Commit 85dbe7a

Browse files
more rabbit comments
1 parent 0e50bd3 commit 85dbe7a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
8181
- name: Build and Push
8282
uses: docker/build-push-action@v6
83-
if: github.ref == 'refs/heads/main' && env.DOCKERHUB_LOGIN == 'true'
83+
if: env.DOCKERHUB_LOGIN == 'true'
8484
with:
8585
push: true
8686
file: docker/Dockerfile

docker/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@ RUN apk add --no-cache curl tar && \
99
chmod +x /usr/local/bin/ctrlc && \
1010
rm -rf ctrlc.tar.gz
1111

12-
WORKDIR /app
13-
1412
CMD ["ctrlc", "--help"]

docker/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ In order to sync Terraform resources into Ctrlplane, you need to set the followi
3535
- `TFE_ADDRESS` (optional): The URL of your Terraform Cloud instance (e.g. `https://app.terraform.io`). If not set, the default address (`https://app.terraform.io`) is used.
3636

3737
```sh
38-
docker run ctrlplane/cli ctrlc sync terraform --organization my-org --workspace-id 2a7c5560-75c9-4dbe-be74-04ee33bf8188
38+
docker run -e TFE_TOKEN=my-token -e CTRLPLANE_API_KEY=my-api-key -e CTRLPLANE_URL=https://app.ctrlplane.dev \
39+
ctrlplane/cli ctrlc sync terraform --organization my-org --workspace-id 2a7c5560-75c9-4dbe-be74-04ee33bf8188
3940
```

0 commit comments

Comments
 (0)