Skip to content

Commit

Permalink
Updating
Browse files Browse the repository at this point in the history
  • Loading branch information
terafin committed Jul 10, 2023
1 parent bfdebbb commit f75bf3a
Show file tree
Hide file tree
Showing 3 changed files with 413 additions and 289 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,4 @@ on:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: ${{ secrets.DOCKER_USERNAME }}/${{ secrets.PROJECT_NAME }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Deploy
uses: wei/curl@v1
with:
args: -H "X-Docker-Token:${{ secrets.WEBHOOK_AUTH_TOKEN }}" -X GET "${{ secrets.WEBHOOK_URL }}?DOCKER_SERVICE_NAME=automation_${{ secrets.PROJECT_NAME }}&DOCKER_IMAGE_PREFIX=${{ secrets.DOCKER_USERNAME }}&DOCKER_IMAGE_NAME=${{ secrets.PROJECT_NAME }}&DOCKER_IMAGE_TAG=${{ secrets.DOCKER_IMAGE_TAG }}"
uses: terafin/workflows/.github/workflows/build-and-deploy.yml@main
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Here's an example docker compose
version: "3.4"
services:
mqtt-tesla-bridge:
image: terafin/mqtt-tesla-bridge:latest
image: ghcr.io/terafin/mqtt-tesla-bridge:latest
container_name: mqtt-tesla-bridge
environment:
LOGGING_NAME: mqtt-tesla-bridge
Expand Down
Loading

0 comments on commit f75bf3a

Please sign in to comment.