Workflow changes for metadata
This commit is contained in:
parent
86414df14b
commit
6b05c27a56
1 changed files with 7 additions and 3 deletions
|
@ -4,6 +4,8 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths:
|
||||||
|
- Dockerfile
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -24,7 +26,7 @@ jobs:
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5.7.0
|
uses: docker/metadata-action@v5.7.0
|
||||||
with:
|
with:
|
||||||
images: caddy
|
images: docker.io/library/caddy:latest
|
||||||
tags: |
|
tags: |
|
||||||
type=schedule
|
type=schedule
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
|
@ -42,8 +44,10 @@ jobs:
|
||||||
uses: docker/build-push-action@v6.16.0
|
uses: docker/build-push-action@v6.16.0
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: false
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: |
|
||||||
|
git.oooo.nz/alex/caddy:latest
|
||||||
|
git.oooo.nz/alex/caddy:
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
secrets: |
|
secrets: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue