Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 25ed20032e | |||
| 10a5e1d6fb | |||
| 91eec28708 | |||
| 90f5a16def | |||
| 7c9b777e64 | |||
| 0b728fad30 | |||
| c586229d98 | |||
| 8594359d52 | |||
| 7e06b6ee40 | |||
| 6ba8a26016 |
@@ -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
|
uses: docker/setup-buildx-action@v3.2.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
|
uses: docker/login-action@v3.1.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@v5
|
# uses: docker/build-push-action@v5.3.0
|
||||||
# with:
|
# with:
|
||||||
# context: ./Docker/
|
# context: ./Docker/
|
||||||
# push: ${{ github.event_name != 'pull_request' }}
|
# push: ${{ github.event_name != 'pull_request' }}
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
harbor.evanshome.io/library/py-eagle-mqtt
|
harbor.evanshome.io/library/py-eagle-mqtt
|
||||||
# generate Docker tags based on the following events/attributes
|
# generate Docker tags based on the following events/attributes
|
||||||
|
flavor: |
|
||||||
|
latest=true
|
||||||
tags: |
|
tags: |
|
||||||
type=schedule
|
type=schedule
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
@@ -41,19 +43,18 @@ 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
|
uses: docker/setup-buildx-action@v3.2.0
|
||||||
- name: Login to Harbor
|
- name: Login to Harbor
|
||||||
if: github.event_name != 'pull_request'
|
uses: docker/login-action@v3.1.0
|
||||||
uses: docker/login-action@v3
|
|
||||||
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@v5
|
uses: docker/build-push-action@v5.3.0
|
||||||
with:
|
with:
|
||||||
context: ./Docker/
|
context: ./Docker/
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
Reference in New Issue
Block a user