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:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- Dockerfile
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
@ -24,7 +26,7 @@ jobs:
|
|||
id: meta
|
||||
uses: docker/metadata-action@v5.7.0
|
||||
with:
|
||||
images: caddy
|
||||
images: docker.io/library/caddy:latest
|
||||
tags: |
|
||||
type=schedule
|
||||
type=ref,event=branch
|
||||
|
@ -42,8 +44,10 @@ jobs:
|
|||
uses: docker/build-push-action@v6.16.0
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
push: false
|
||||
tags: |
|
||||
git.oooo.nz/alex/caddy:latest
|
||||
git.oooo.nz/alex/caddy:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
secrets: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue