Skip to content

Commit

Permalink
feat: added support for alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorfdl committed Jun 22, 2024
1 parent 1236759 commit ae13302
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-dockerhub.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to DockerHub (Alt)
name: Deploy to DockerHub

on:
workflow_dispatch:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ Specific docker documentation can be found on the [Docker Hub page](https://hub.
- **tagoio/relay:latest**: Main image for general use.
- **tagoio/relay:<version>**: Specific version of the image.
- **tagoio/relay:bookworm**: Based on Debian Bookworm.
- **tagoio/relay:alpine**: Based on Alpine Linux.
- **tagoio/relay:<version>-<distribution>**: Specific version of the image for a specific distribution.
## CLI Commands
Expand Down
4 changes: 2 additions & 2 deletions dockerhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ if [ "$DISTRIBUTION" == "debian" ]; then
--tag tagoio/relay:${MAJOR}.${MINOR}.${PATCH}-bookworm"
elif [ "$DISTRIBUTION" == "alpine" ]; then
TAGS="--tag tagoio/relay:${DISTRIBUTION} \
--tag tagoio/relay:${MAJOR}.${MINOR}-alpine \
--tag tagoio/relay:${MAJOR}.${MINOR}.${PATCH}-alpine"
--tag tagoio/relay:${MAJOR}.${MINOR}-${DISTRIBUTION} \
--tag tagoio/relay:${MAJOR}.${MINOR}.${PATCH}-${DISTRIBUTION}"
else
echo "Error: Unknown distribution."
exit 1
Expand Down
17 changes: 0 additions & 17 deletions examples/basic-docker-compose/.tagoio-mqtt-relay.toml

This file was deleted.

3 changes: 3 additions & 0 deletions examples/basic-docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ services:
ports:
# Port for the TCP server
- "3001:3001"

# Set the path to the .tagoio-mqtt-relay.toml file to configure the relay
# Copy the .tagoio-mqtt-relay.toml file from the example in the main repository
volumes:
- .tagoio-mqtt-relay.toml:/root/.config/.tagoio-mqtt-relay.toml

Expand Down
17 changes: 0 additions & 17 deletions examples/mosquitto-relay-setup/.tagoio-mqtt-relay.toml

This file was deleted.

5 changes: 3 additions & 2 deletions examples/mosquitto-relay-setup/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ services:
# Port for the TCP server
- "3001:3001"

volumes:
- .tagoio-mqtt-relay.toml:/root/.config/.tagoio-mqtt-relay.toml
# Set the path to the .tagoio-mqtt-relay.toml file to configure the relay
# volumes:
# - .tagoio-mqtt-relay.toml:/root/.config/.tagoio-mqtt-relay.toml

# Example using the environment variables for easy setup. You can use the .tagoio-mqtt-relay.toml above instead if you prefer.
environment:
Expand Down

0 comments on commit ae13302

Please sign in to comment.