Merge pull request 'add push' (#58) from erichardson-patch-1 into master
All checks were successful
ci / docker (push) Successful in 17s

Reviewed-on: #58
This commit was merged in pull request #58.
This commit is contained in:
2024-03-07 08:34:29 +00:00

View File

@@ -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
@@ -54,6 +56,6 @@ jobs:
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
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 }}