mirror of https://github.com/Lissy93/dashy.git
parent
c378f07212
commit
74075f3ef1
|
@ -1,8 +1,10 @@
|
||||||
|
# Builds a Docker image from with latest tag when master branch is updated
|
||||||
|
# The publishes it to GitHub container registry as a package
|
||||||
name: Build and Publish Docker Image to GHCR
|
name: Build and Publish Docker Image to GHCR
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: ['release']
|
branches: ['master']
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
|
@ -25,5 +27,5 @@ jobs:
|
||||||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: false
|
push: true
|
||||||
tags: latest
|
tags: latest
|
||||||
|
|
Loading…
Reference in New Issue