mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +00:00
Use a missing-tags-image
output
This commit is contained in:
parent
97f3365675
commit
819a0f7e84
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -31,6 +31,7 @@ jobs:
|
|||||||
ytdlp-latest-release: ${{ steps.yt-dlp.outputs.latest-release }}
|
ytdlp-latest-release: ${{ steps.yt-dlp.outputs.latest-release }}
|
||||||
ytdlp-releases: ${{ steps.yt-dlp.outputs.releases }}
|
ytdlp-releases: ${{ steps.yt-dlp.outputs.releases }}
|
||||||
missing-tags: ${{ steps.tagged.outputs.missing }}
|
missing-tags: ${{ steps.tagged.outputs.missing }}
|
||||||
|
missing-tags-image: ${{ steps.tagged.outputs.image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Pull tagged releases
|
- name: Pull tagged releases
|
||||||
id: tagged
|
id: tagged
|
||||||
@ -39,6 +40,7 @@ jobs:
|
|||||||
missing=''
|
missing=''
|
||||||
set_sl_var() { local f='%s=%s\n' ; printf -- "${f}" "$@" ; } ;
|
set_sl_var() { local f='%s=%s\n' ; printf -- "${f}" "$@" ; } ;
|
||||||
set -eux
|
set -eux
|
||||||
|
set_sl_var image "${image}" >> "${GITHUB_OUTPUT}"
|
||||||
# v0.14.1 = ghcr.io/meeb/tubesync:latest@sha256:63fffee3411bda395c526087d7107f76834141bb0c1443a0bd6bed5533e5a85f
|
# v0.14.1 = ghcr.io/meeb/tubesync:latest@sha256:63fffee3411bda395c526087d7107f76834141bb0c1443a0bd6bed5533e5a85f
|
||||||
tag_tried='v0.14.1'
|
tag_tried='v0.14.1'
|
||||||
tag_image_digest='latest@sha256:63fffee3411bda395c526087d7107f76834141bb0c1443a0bd6bed5533e5a85f'
|
tag_image_digest='latest@sha256:63fffee3411bda395c526087d7107f76834141bb0c1443a0bd6bed5533e5a85f'
|
||||||
@ -199,7 +201,7 @@ jobs:
|
|||||||
if: ${{ github.actor == github.repository_owner && '' != needs.info.outputs.missing-tags }}
|
if: ${{ github.actor == github.repository_owner && '' != needs.info.outputs.missing-tags }}
|
||||||
run: |
|
run: |
|
||||||
missing='${{ needs.info.outputs.missing-tags }}'
|
missing='${{ needs.info.outputs.missing-tags }}'
|
||||||
image='ghcr.io/${{ needs.info.outputs.lowercase-github-actor }}/${{ env.IMAGE_NAME }}'
|
image='${{ needs.info.outputs.missing-tags-image }}'
|
||||||
printf -- '%s\n' "${missing}" | tr '|' '\n' | \
|
printf -- '%s\n' "${missing}" | tr '|' '\n' | \
|
||||||
while read SPEC
|
while read SPEC
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user