Skip to content

Commit

Permalink
Merge pull request #19 from golioth/feat/goliothiot-to-golioth
Browse files Browse the repository at this point in the history
Update DockerHub org to golioth
  • Loading branch information
hasheddan authored Oct 30, 2023
2 parents a91cbb5 + 590bb5a commit fb02382
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
file: ./images/xk6-coap/Dockerfile
platforms: linux/amd64
load: true
tags: goliothiot/xk6-coap
tags: golioth/xk6-coap

- name: Login to Dockerhub
uses: docker/login-action@v1
if: github.ref == 'refs/heads/main'
with:
username: goliothiot
username: goliothbot
password: ${{ secrets.DOCKER_TOKEN }}

- name: Build and Push to Dockerhub
Expand All @@ -45,4 +45,4 @@ jobs:
file: ./images/xk6-coap/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: goliothiot/xk6-coap
tags: golioth/xk6-coap
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
## Getting Started

To get started, either build the `k6` binary or use the
[`goliothiot/xk6-coap`](https://hub.docker.com/repository/docker/goliothiot/xk6-coap)
[`golioth/xk6-coap`](https://hub.docker.com/repository/docker/golioth/xk6-coap)
image.

### Using the OCI Image

The quickest way to get started is by using the `goliothiot/xk6-coap` image,
The quickest way to get started is by using the `golioth/xk6-coap` image,
which is [built](./images/xk6-coap/Dockerfile) from this repository and
published to DockerHub. Tests can be supplied when creating a container from the
image via a [bind mount](https://docs.docker.com/storage/bind-mounts/). For
example, the following command would run the [simple
example](./examples/simple.js) from this repository.

```
docker run -it --rm -e COAP_PSK_ID=<YOUR-PSK-ID> -e COAP_PSK=<YOUR-PSK> -v $(pwd)/examples/simple.js:/simple.js goliothiot/xk6-coap k6 run /simple.js --vus 10 --duration 5s
docker run -it --rm -e COAP_PSK_ID=<YOUR-PSK-ID> -e COAP_PSK=<YOUR-PSK> -v $(pwd)/examples/simple.js:/simple.js golioth/xk6-coap k6 run /simple.js --vus 10 --duration 5s
```

`xk6-coap` supports authentication via pre-shared keys (PSKs) and client
Expand Down

0 comments on commit fb02382

Please sign in to comment.