fix(ci): remove unnecessary output

This commit is contained in:
Luke Tainton 2025-01-12 21:15:35 +01:00
parent 147b72d437
commit 9a9c248250

View File

@ -11,13 +11,9 @@ on:
release:
required: true
type: string
outputs:
success:
description: "Did the flow succeed?"
value: ${{ jobs.create_docker.outputs.success }}
jobs:
create_docker:
publish:
name: Publish Docker Images
runs-on: ubuntu-latest
steps:
@ -32,10 +28,10 @@ jobs:
echo "{\"insecure-registries\": [\"${{ vars.PACKAGES_REGISTRY_URL }}\"]}" > /etc/docker/daemon.json
- name: Get repo name
env:
REPO: ${{ gitea.repository }}
id: split
run: echo "repo=${REPO##*/}" >> $GITEA_OUTPUT
env:
REPO: ${{ gitea.repository }}
- name: Check out repository
uses: actions/checkout@v4.2.2
@ -64,10 +60,10 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
tags: type=semver,pattern=v{{version}},value=${{ inputs.release }}
images: |
ghcr.io/${{ vars.GHCR_USERNAME }}/${{ steps.split.outputs.repo }}
${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}
tags: type=semver,pattern=v{{version}},value=${{ inputs.release }}
- name: Print metadata
run: |
@ -93,7 +89,3 @@ jobs:
readarray -t lines <<<"$strtags"
for element in "${lines[@]}"; do docker push "$element"; done
unset strtags lines
- name: Set success flag
id: set_flag
run: echo "success=true" >> "$GITEA_OUTPUT"