Compare commits

...

9 Commits

Author SHA1 Message Date
09905cf8f1 use build and push action
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 10s
Semantic Release and Changelog / Build and Publish (push) Failing after 10s
2024-03-06 07:37:46 +00:00
dca0f07a21 revert fe727724f0
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 7s
Semantic Release and Changelog / Build and Publish (push) Failing after 13s
revert chore(deps): update docker/login-action action to v3
2024-02-20 00:24:32 +00:00
a916aea59e Merge pull request 'chore(deps): update docker/login-action action to v3' (#50) from renovate/docker-login-action-3.x into master
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 7s
Semantic Release and Changelog / Build and Publish (push) Has been cancelled
Reviewed-on: #50
2024-02-20 00:20:45 +00:00
fe727724f0 chore(deps): update docker/login-action action to v3
Some checks failed
Build and publish Image / build-and-push (push) Failing after 12s
2024-02-20 00:13:49 +00:00
e1e0cf0ff2 Merge pull request 'chore(deps): update dependency docker/login-action to v2.2.0' (#48) from renovate/docker-login-action-2.x into master
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 8s
Semantic Release and Changelog / Build and Publish (push) Failing after 58s
Reviewed-on: #48
2024-02-18 03:05:57 +00:00
62d935ba4a Merge pull request 'chore(deps): update node.js to v20.11.1' (#49) from renovate/node-20.x into master
Some checks are pending
Semantic Release and Changelog / Patch (push) Waiting to run
Semantic Release and Changelog / Build and Publish (push) Waiting to run
Reviewed-on: #49
2024-02-18 03:05:39 +00:00
e25118fc33 chore(deps): update node.js to v20.11.1
Some checks failed
Build and publish Image / build-and-push (push) Failing after 9s
2024-02-18 03:04:31 +00:00
2a33fc9302 chore(deps): update dependency docker/login-action to v2.2.0
Some checks failed
Build and publish Image / build-and-push (push) Failing after 9s
2024-02-18 03:04:28 +00:00
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
4 changed files with 9 additions and 9 deletions

View File

@@ -16,12 +16,12 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4.1.1 uses: actions/checkout@v4.1.1
- name: Build Docker image
run: docker build -t harbor.evanshome.io/library/py-eagle-mqtt:dev ./Docker/
- name: Login to Harbor - name: Login to Harbor
run: docker login -u ${{ secrets.HARBOR_USERNAME }} -p ${{ secrets.HARBOR_PASSWORD }} harbor.evanshome.io run: docker login -u ${{ secrets.HARBOR_USERNAME }} -p ${{ secrets.HARBOR_PASSWORD }} harbor.evanshome.io
- name: Push Docker image to Harbor - name: Build and push
run: docker push harbor.evanshome.io/library/py-eagle-mqtt:dev uses: docker/build-push-action@v5
with:
context: ./Docker/
push: true
tags: harbor.evanshome.io/library/py-eagle-mqtt:dev

View File

@@ -39,7 +39,7 @@ jobs:
uses: actions/checkout@v4.1.1 uses: actions/checkout@v4.1.1
- name: Login to Harbor - name: Login to Harbor
uses: docker/login-action@v2 uses: docker/login-action@v2.2.0
with: with:
registry: harbor.evanshome.io registry: harbor.evanshome.io
username: "robot$registry-bot" username: "robot$registry-bot"

View File

@@ -31,7 +31,7 @@ build:
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
release: release:
image: node:20.10.0-alpine3.18 image: node:20.11.1-alpine3.18
stage: release stage: release
only: only:
refs: refs:

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