Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3eac06ddb3 |
@@ -17,10 +17,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.1.6
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5.7.0
|
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: |
|
||||||
@@ -34,10 +34,10 @@ jobs:
|
|||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
type=sha
|
type=sha
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3.10.0
|
uses: docker/setup-buildx-action@v3.3.0
|
||||||
- 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.4.0
|
uses: docker/login-action@v3.2.0
|
||||||
with:
|
with:
|
||||||
registry: harbor.evanshome.io
|
registry: harbor.evanshome.io
|
||||||
username: ${{ secrets.HARBOR_USERNAME }}
|
username: ${{ secrets.HARBOR_USERNAME }}
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
# - name: Build and push
|
# - name: Build and push
|
||||||
# uses: docker/build-push-action@v6.15.0
|
# uses: docker/build-push-action@v5.4.0
|
||||||
# with:
|
# with:
|
||||||
# context: ./Docker/
|
# context: ./Docker/
|
||||||
# push: ${{ github.event_name != 'pull_request' }}
|
# push: ${{ github.event_name != 'pull_request' }}
|
||||||
|
|||||||
@@ -11,14 +11,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.1.6
|
||||||
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.73.0
|
uses: anothrNick/github-tag-action@1.69.0
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.REPO_PUSH_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.REPO_PUSH_TOKEN }}
|
||||||
WITH_V: true
|
WITH_V: true
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5.7.0
|
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: |
|
||||||
@@ -44,16 +44,16 @@ jobs:
|
|||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
type=sha
|
type=sha
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3.10.0
|
uses: docker/setup-buildx-action@v3.3.0
|
||||||
- name: Login to Harbor
|
- name: Login to Harbor
|
||||||
uses: docker/login-action@v3.4.0
|
uses: docker/login-action@v3.2.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
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6.15.0
|
uses: docker/build-push-action@v5.4.0
|
||||||
with:
|
with:
|
||||||
context: ./Docker/
|
context: ./Docker/
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
@@ -11,14 +11,14 @@ stages:
|
|||||||
##- push_dockerhub
|
##- push_dockerhub
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: docker:28.0.4-dind
|
image: docker:26.1.3-dind
|
||||||
stage: build
|
stage: build
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- tags
|
- tags
|
||||||
- branches
|
- branches
|
||||||
services:
|
services:
|
||||||
- name: docker:28.0.4-dind
|
- name: docker:26.1.3-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:22.12.0-alpine3.19
|
image: node:20.14.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:28.0.4-dind
|
image: docker:26.1.3-dind
|
||||||
stage: push_local
|
stage: push_local
|
||||||
services:
|
services:
|
||||||
- name: docker:28.0.4-dind
|
- name: docker:26.1.3-dind
|
||||||
command: ["--tls=false"]
|
command: ["--tls=false"]
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.13-alpine
|
FROM python:3.12-alpine
|
||||||
LABEL maintainer="Evan Richardson (evanrich81[at]gmail.com)"
|
LABEL maintainer="Evan Richardson (evanrich81[at]gmail.com)"
|
||||||
|
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
paho-mqtt==2.1.0
|
paho-mqtt==2.1.0
|
||||||
bottle==0.13.2
|
bottle==0.12.25
|
||||||
defusedxml==0.7.1
|
defusedxml==0.7.1
|
||||||
|
|||||||
Reference in New Issue
Block a user