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