mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-09-29 20:25:56 +00:00
add dockerfile to docker builds
This commit is contained in:
parent
8b05205247
commit
a0eed7d033
3
.github/workflows/docker-image.yml
vendored
3
.github/workflows/docker-image.yml
vendored
@ -47,6 +47,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
if: (!startsWith(github.ref, 'refs/tags/'))
|
if: (!startsWith(github.ref, 'refs/tags/'))
|
||||||
with:
|
with:
|
||||||
|
file: ${{matrix.config.dockerfile}}
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/ravenscroftj/turbopilot:nightly-${{ github.sha }}
|
tags: ghcr.io/ravenscroftj/turbopilot:nightly-${{ github.sha }}
|
||||||
context: ${{github.workspace}}
|
context: ${{github.workspace}}
|
||||||
@ -57,6 +58,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
if: startsWith(github.ref, 'refs/tags/') && matrix.config.tag == ''
|
if: startsWith(github.ref, 'refs/tags/') && matrix.config.tag == ''
|
||||||
with:
|
with:
|
||||||
|
file: ${{matrix.config.dockerfile}}
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/ravenscroftj/turbopilot:${{ github.ref_name }}, ghcr.io/ravenscroftj/turbopilot:latest
|
tags: ghcr.io/ravenscroftj/turbopilot:${{ github.ref_name }}, ghcr.io/ravenscroftj/turbopilot:latest
|
||||||
context: ${{github.workspace}}
|
context: ${{github.workspace}}
|
||||||
@ -67,6 +69,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
if: startsWith(github.ref, 'refs/tags/') && matrix.config.tag != ''
|
if: startsWith(github.ref, 'refs/tags/') && matrix.config.tag != ''
|
||||||
with:
|
with:
|
||||||
|
file: ${{matrix.config.dockerfile}}
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/ravenscroftj/turbopilot:${{ github.ref_name }}
|
tags: ghcr.io/ravenscroftj/turbopilot:${{ github.ref_name }}
|
||||||
context: ${{github.workspace}}
|
context: ${{github.workspace}}
|
||||||
|
Loading…
Reference in New Issue
Block a user