mirror of
https://github.com/onedr0p/exportarr.git
synced 2026-02-06 10:57:32 +00:00
Only set latest tag on version bump (#232)
* Only set `latest` tag on version bump Signed-off-by: Russell Troxel <russell@troxel.io> * go mod tidy Signed-off-by: Russell Troxel <russell@troxel.io> --------- Signed-off-by: Russell Troxel <russell@troxel.io>
This commit is contained in:
parent
8c51f278ff
commit
294191ecae
7
.github/actions/docker-image/action.yaml
vendored
7
.github/actions/docker-image/action.yaml
vendored
@ -11,6 +11,11 @@ inputs:
|
||||
type: boolean
|
||||
required: false
|
||||
default: true
|
||||
latest:
|
||||
description: Update latest tag
|
||||
type: boolean
|
||||
required: false
|
||||
default: true
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
@ -21,7 +26,7 @@ runs:
|
||||
with:
|
||||
images: ghcr.io/${{ github.repository }}
|
||||
flavor: |
|
||||
latest=true
|
||||
latest=${{ fromJSON(inputs.latest) }}
|
||||
prefix=v
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
|
||||
1
.github/workflows/on-merge.yml
vendored
1
.github/workflows/on-merge.yml
vendored
@ -26,3 +26,4 @@ jobs:
|
||||
uses: ./.github/actions/docker-image
|
||||
with:
|
||||
token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
latest: false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user