Compare commits
95
Commits
v1.14.0
...
d6d6a690e2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6d6a690e2 | ||
|
|
d634c4659f | ||
|
|
e6aa8c4a72 | ||
|
|
c0fc66096e | ||
|
|
9f9e908155 | ||
|
|
54cbb59bed | ||
|
|
e8df48f0c4 | ||
|
|
4becf3ab28 | ||
|
|
51ab6fb934 | ||
|
|
b3b3d4a7e1 | ||
|
|
93799d8fe5 | ||
|
|
65e2cb1bba | ||
|
|
65ef1207e3 | ||
|
|
b53e40b534 | ||
|
|
de95d7e864 | ||
|
|
655ab393e6 | ||
|
|
c6db076198 | ||
|
|
aa0d5de1bf | ||
|
|
299c8f61cb | ||
|
|
fdc44fb5d4 | ||
|
|
9d646201e6 | ||
|
|
58a62b794e | ||
|
|
a17285c857 | ||
|
|
434d3746e0 | ||
|
|
0634ed2b96 | ||
|
|
fb47b12ef3 | ||
|
|
1367a48107 | ||
|
|
14455d156d | ||
|
|
60d1252c8c | ||
|
|
0ea5651ea3 | ||
|
|
3de2508deb | ||
|
|
43a4042cbd | ||
|
|
0b4b16d29d | ||
|
|
4a8084e1ed | ||
|
|
430c7a1823 | ||
|
|
6adf1c6284 | ||
|
|
5bf2080df4 | ||
|
|
99c775850e | ||
|
|
ddf22a5388 | ||
|
|
396fab9966 | ||
|
|
efb94e2f90 | ||
|
|
a680014d33 | ||
|
|
e8a1e292f4 | ||
|
|
010bb63330 | ||
|
|
784efb09e6 | ||
|
|
1212ea5e42 | ||
|
|
7af1886d5e | ||
|
|
1eba96caba | ||
|
|
db914ee651 | ||
|
|
ba3e72e592 | ||
|
|
34e51fe769 | ||
|
|
784e47cf74 | ||
|
|
b6f0927ac9 | ||
|
|
a62e7ce85f | ||
|
|
101f51068f | ||
|
|
0a5c56a06b | ||
|
|
762148e8d0 | ||
|
|
1251bedc85 | ||
|
|
993a4b1c25 | ||
|
|
a5db469ac2 | ||
|
|
a36b9a75f7 | ||
|
|
3a36b00b92 | ||
|
|
ade0f19cae | ||
|
|
d882c4166c | ||
|
|
1b74421e7e | ||
|
|
3d48465868 | ||
|
|
a982172c39 | ||
|
|
25ed20032e | ||
|
|
10a5e1d6fb | ||
|
|
6a09b2855b | ||
|
|
91eec28708 | ||
|
|
90f5a16def | ||
|
|
7c9b777e64 | ||
|
|
0b728fad30 | ||
|
|
c586229d98 | ||
|
|
8594359d52 | ||
|
|
7e06b6ee40 | ||
|
|
6ba8a26016 | ||
|
|
39708d18c0 | ||
|
|
5b6286ef14 | ||
|
|
fde3bec39e | ||
|
|
8241d28a33 | ||
|
|
b76b24277c | ||
|
|
58cf4dab0e | ||
|
|
4e52811a9a | ||
|
|
5c41159b09 | ||
|
|
059a3ce1db | ||
|
|
babea68dd1 | ||
|
|
8213007523 | ||
|
|
2a3aa28dd1 | ||
|
|
867c752d84 | ||
|
|
7903e31e4b | ||
|
|
02f5ca5a13 | ||
|
|
297c03b467 | ||
|
|
09905cf8f1 |
@@ -17,10 +17,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4.2.1
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5.5.1
|
||||||
with:
|
with:
|
||||||
# list of Docker images to use as base name for tags
|
# list of Docker images to use as base name for tags
|
||||||
images: |
|
images: |
|
||||||
@@ -30,26 +30,31 @@ jobs:
|
|||||||
type=schedule
|
type=schedule
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=ref,event=pr
|
type=ref,event=pr
|
||||||
|
type=semver,pattern={{raw}}
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
|
||||||
type=semver,pattern={{major}}
|
|
||||||
type=sha
|
type=sha
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3.6.1
|
||||||
- name: Login to Harbor
|
- name: Login to Harbor
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3.3.0
|
||||||
with:
|
with:
|
||||||
registry: harbor.evanshome.io
|
registry: harbor.evanshome.io
|
||||||
username: ${{ secrets.HARBOR_USERNAME }}
|
username: ${{ secrets.HARBOR_USERNAME }}
|
||||||
password: ${{ secrets.HARBOR_PASSWORD }}
|
password: ${{ secrets.HARBOR_PASSWORD }}
|
||||||
- name: Build and push
|
|
||||||
uses: docker/build-push-action@v5
|
- name: echo new tag
|
||||||
with:
|
run: |
|
||||||
context: ./Docker/
|
echo "${{ steps.meta.outputs.tags }}"
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
# - name: Build and push
|
||||||
|
# uses: docker/build-push-action@v6.7.0
|
||||||
|
# with:
|
||||||
|
# context: ./Docker/
|
||||||
|
# push: ${{ github.event_name != 'pull_request' }}
|
||||||
|
# tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
# labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -11,15 +11,51 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4.1.1
|
uses: actions/checkout@v4.2.1
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
|
|
||||||
- name: Create Release Tag
|
- name: Create Release Tag
|
||||||
id: taggerFinal
|
id: taggerFinal
|
||||||
uses: anothrNick/github-tag-action@1.67.0
|
uses: anothrNick/github-tag-action@1.70.0
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.REPO_PUSH_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.REPO_PUSH_TOKEN }}
|
||||||
WITH_V: true
|
WITH_V: true
|
||||||
GIT_API_TAGGING: false
|
GIT_API_TAGGING: false
|
||||||
|
DEFAULT_BUMP: patch
|
||||||
|
|
||||||
|
- name: Docker meta
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@v5.5.1
|
||||||
|
with:
|
||||||
|
# list of Docker images to use as base name for tags
|
||||||
|
images: |
|
||||||
|
harbor.evanshome.io/library/py-eagle-mqtt
|
||||||
|
# generate Docker tags based on the following events/attributes
|
||||||
|
flavor: |
|
||||||
|
latest=true
|
||||||
|
tags: |
|
||||||
|
type=schedule
|
||||||
|
type=ref,event=branch
|
||||||
|
type=ref,event=pr
|
||||||
|
type=raw,value=${{ steps.taggerFinal.outputs.new_tag }}
|
||||||
|
type=semver,pattern={{raw}}
|
||||||
|
type=semver,pattern={{version}}
|
||||||
|
type=sha
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3.6.1
|
||||||
|
- name: Login to Harbor
|
||||||
|
uses: docker/login-action@v3.3.0
|
||||||
|
with:
|
||||||
|
registry: harbor.evanshome.io
|
||||||
|
username: ${{ secrets.HARBOR_USERNAME }}
|
||||||
|
password: ${{ secrets.HARBOR_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v6.7.0
|
||||||
|
with:
|
||||||
|
context: ./Docker/
|
||||||
|
push: true
|
||||||
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
+5
-5
@@ -11,14 +11,14 @@ stages:
|
|||||||
##- push_dockerhub
|
##- push_dockerhub
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: docker:24.0.7-dind
|
image: docker:27.2.1-dind
|
||||||
stage: build
|
stage: build
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- tags
|
- tags
|
||||||
- branches
|
- branches
|
||||||
services:
|
services:
|
||||||
- name: docker:24.0.7-dind
|
- name: docker:27.2.1-dind
|
||||||
command: ["--tls=false"]
|
command: ["--tls=false"]
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
@@ -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.11.1-alpine3.18
|
image: node:20.17.0-alpine3.19
|
||||||
stage: release
|
stage: release
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
@@ -57,10 +57,10 @@ release:
|
|||||||
- CHANGELOG.md
|
- CHANGELOG.md
|
||||||
|
|
||||||
push local:
|
push local:
|
||||||
image: docker:24.0.7-dind
|
image: docker:27.2.1-dind
|
||||||
stage: push_local
|
stage: push_local
|
||||||
services:
|
services:
|
||||||
- name: docker:24.0.7-dind
|
- name: docker:27.2.1-dind
|
||||||
command: ["--tls=false"]
|
command: ["--tls=false"]
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
paho-mqtt==2.0.0
|
paho-mqtt==2.1.0
|
||||||
bottle==0.12.25
|
bottle==0.13.1
|
||||||
defusedxml==0.7.1
|
defusedxml==0.7.1
|
||||||
|
|||||||
Reference in New Issue
Block a user