Skip to content

Commit

Permalink
build: Add workflow outputs to .github/workflows/build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Eta0 committed Jun 17, 2023
1 parent 209c517 commit 4de7851
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,25 @@ on:
tag-suffix:
required: false
type: string
outputs:
outcome:
description: "The outcome of the build"
value: ${{ jobs.build.outputs.outcome }}
tags:
description: "The resulting image tags"
value: ${{ jobs.build.outputs.tags }}
version:
description: "The resulting image version"
value: ${{ jobs.build.outputs.tags }}

jobs:
build:
name: Build Images
runs-on: [self-hosted, Linux]
outputs:
outcome: ${{ steps.docker-build.outcome }}
tags: ${{ steps.meta.outputs.tags }}
version: ${{ steps.meta.outputs.version }}
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
Expand Down

0 comments on commit 4de7851

Please sign in to comment.