Compare commits

...

3 Commits

Author SHA1 Message Date
5b14168d6b log to screen
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 7s
Semantic Release and Changelog / Build and Publish (push) Failing after 13s
2024-02-10 21:48:04 +00:00
b55c3df231 Update .gitea/workflows/semantic-release.yaml
All checks were successful
Semantic Release and Changelog / Patch (push) Successful in 6s
Semantic Release and Changelog / Build and Publish (push) Successful in 21s
2024-02-10 21:35:42 +00:00
ac3ad18d84 Update .gitea/workflows/semantic-release.yaml
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 7s
Semantic Release and Changelog / Build and Publish (push) Failing after 6s
2024-02-10 21:32:35 +00:00
2 changed files with 8 additions and 4 deletions

View File

@@ -38,6 +38,13 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4.1.1 uses: actions/checkout@v4.1.1
- name: Login to Harbor
uses: docker/login-action@v2
with:
registry: harbor.evanshome.io
username: "robot$registry-bot"
password: ${{ secrets.HARBOR_PASSWORD }}
- name: Build Docker image - name: Build Docker image
run: docker build -t harbor.evanshome.io/library/py-eagle-mqtt:latest ./Docker/ run: docker build -t harbor.evanshome.io/library/py-eagle-mqtt:latest ./Docker/
@@ -52,8 +59,5 @@ jobs:
- name: tag with name - name: tag with name
run: docker tag harbor.evanshome.io/library/py-eagle-mqtt:latest harbor.evanshome.io/library/py-eagle-mqtt:${{ steps.taggerFinal.outputs.new_tag }} run: docker tag harbor.evanshome.io/library/py-eagle-mqtt:latest harbor.evanshome.io/library/py-eagle-mqtt:${{ steps.taggerFinal.outputs.new_tag }}
- name: Login to Harbor
run: docker login -u ${{ secrets.HARBOR_USERNAME }} -p ${{ secrets.HARBOR_PASSWORD }} harbor.evanshome.io
- name: Push Docker image to Harbor - name: Push Docker image to Harbor
run: docker push --all-tags harbor.evanshome.io/library/py-eagle-mqtt run: docker push --all-tags harbor.evanshome.io/library/py-eagle-mqtt

View File

@@ -28,6 +28,6 @@ RUN apk --update add --no-cache logrotate && \
COPY . /app COPY . /app
CMD ["python3", "-u", "/app/src/bin/tHome-eagle.py", "-c", "/app/src/conf"] CMD ["python3", "-u", "/app/src/bin/tHome-eagle.py", "-c", "/app/src/conf", "-l", "stdout"]
EXPOSE 22042 EXPOSE 22042