Skip to content

Commit

Permalink
fix(website): Update website
Browse files Browse the repository at this point in the history
  • Loading branch information
rradczewski committed May 29, 2024
1 parent 7d9fb97 commit f7cab6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ enriches the version number with three important data points: The

- name: Print trunkver
env:
TRUNKVER: ${{ steps.trunkver.outputs.trunkver }}
TRUNKVER: ${{'{{ steps.trunkver.outputs.trunkver }}'}}
run: |
echo "$TRUNKVER"
```
### Docker
```sh
docker run ghcr.io/crftd-tech/trunkver:latest --build-ref "$CI_JOB_ID" --source-ref "g$(git rev-parse --short HEAD)"
docker run --rm ghcr.io/crftd-tech/trunkver:latest generate --build-ref "$CI_JOB_ID" --source-ref "g$(git rev-parse --short HEAD)"
```

### Other CIs

```sh
curl -sSL https://github.com/crftd-tech/trunkver/releases/latest/download/trunkver_linux_amd64 -o trunkver
chmod +x trunkver
./trunkver
./trunkver generate
```

## FAQ
Expand Down

0 comments on commit f7cab6c

Please sign in to comment.