mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-26 02:17:34 +00:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5e2db37d9 | ||
|
|
e08ea3b9e5 | ||
|
|
4f1907abfa |
No files matched your search
@@ -61,14 +61,16 @@ runs:
|
|||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
|
flavour: |
|
||||||
|
suffix=${{ inputs.tag_suffix }}
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}},prefix=v,suffix=${{ inputs.tag_suffix }}
|
type=semver,pattern={{version}},prefix=v
|
||||||
type=semver,pattern={{major}}.{{minor}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.0.') }},prefix=v,suffix=${{ inputs.tag_suffix }}
|
type=semver,pattern={{major}}.{{minor}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.0.') }},prefix=v
|
||||||
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }},prefix=v,suffix=${{ inputs.tag_suffix }}
|
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }},prefix=v
|
||||||
type=ref,event=branch,prefix=${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref && 'branch-' || '' }},suffix=${{ inputs.tag_suffix }}
|
type=ref,event=branch,prefix=${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref && 'branch-' || '' }},
|
||||||
type=ref,event=pr,suffix=${{ inputs.tag_suffix }}
|
type=ref,event=pr
|
||||||
type=sha,format=short,suffix=${{ inputs.tag_suffix }}
|
type=sha,format=short
|
||||||
type=raw,value=latest${{ inputs.tag_suffix }},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
|
type=raw,value=latest${{ inputs.tag_suffix }},enable=${{ startsWith(github.ref, 'refs/tags/v') }},priority=1100
|
||||||
images: ${{ inputs.images }}
|
images: ${{ inputs.images }}
|
||||||
# default labels & annotations: https://github.com/docker/metadata-action/blob/master/src/meta.ts#L509
|
# default labels & annotations: https://github.com/docker/metadata-action/blob/master/src/meta.ts#L509
|
||||||
env:
|
env:
|
||||||
@@ -81,6 +83,7 @@ runs:
|
|||||||
env:
|
env:
|
||||||
IMAGES: ${{ inputs.images }}
|
IMAGES: ${{ inputs.images }}
|
||||||
run: |
|
run: |
|
||||||
|
set -o xtrace
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
IMAGES_LIST=($IMAGES)
|
IMAGES_LIST=($IMAGES)
|
||||||
ANNOTATIONS_LIST=($DOCKER_METADATA_OUTPUT_ANNOTATIONS)
|
ANNOTATIONS_LIST=($DOCKER_METADATA_OUTPUT_ANNOTATIONS)
|
||||||
@@ -98,6 +101,7 @@ runs:
|
|||||||
env:
|
env:
|
||||||
IMAGES: ${{ inputs.images }}
|
IMAGES: ${{ inputs.images }}
|
||||||
run: |
|
run: |
|
||||||
|
set -o xtrace
|
||||||
IMAGES_LIST=($IMAGES)
|
IMAGES_LIST=($IMAGES)
|
||||||
for REPO in "${IMAGES_LIST[@]}"; do
|
for REPO in "${IMAGES_LIST[@]}"; do
|
||||||
docker buildx imagetools inspect $REPO:${{ steps.meta.outputs.version }}
|
docker buildx imagetools inspect $REPO:${{ steps.meta.outputs.version }}
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ on:
|
|||||||
- "renovate.json"
|
- "renovate.json"
|
||||||
- "pkg/**"
|
- "pkg/**"
|
||||||
- "docs/**"
|
- "docs/**"
|
||||||
|
tags:
|
||||||
|
- "v*.*.*"
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user