This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
name: Build and publish Image
|
||||
run-name: ${{ gitea.actor }} is building py-eagle-mqtt image
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*' # matches every branch that doesn't contain a '/'
|
||||
- '*/*' # matches every branch containing a single '/'
|
||||
- '**' # matches every branch
|
||||
- '!master' # excludes master
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Logout of registry
|
||||
run: docker logout harbor.evanshome.io
|
||||
|
||||
- name: Login to Harbor
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: harbor.evanshome.io
|
||||
username: ${{ secrets.EVAN_USERNAME }}
|
||||
password: ${{ secrets.EVAN_PASSWORD }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./Docker/
|
||||
push: true
|
||||
tags: 'harbor.evanshome.io/library/py-eagle-mqtt:dev'
|
||||
|
||||
Reference in New Issue
Block a user