Skip to content

Commit

Permalink
correcting outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
MJRichardson committed Nov 12, 2023
1 parent 6eb21c6 commit 68a3782
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build-and-push-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,30 @@ on:
outputs:
branch:
description: "The name of the branch"
value: ${{ steps.branch-name.outputs.current_branch }}
value: ${{ jobs.build-and-push.outputs.current_branch }}
image:
description: "The fully qualified built image"
value: ${{ steps.image-tag.outputs.image }}
image-tag:
value: ${{ jobs.build-and-push.outputs.image }}
tag:
description: "The tag component of the image"
value: ${{ steps.image-tag.outputs.tag }}
value: ${{ jobs.build-and-push.outputs.tag }}

env:
REGISTRY: ghcr.io

jobs:
build:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write
outputs:
branch: ${{ steps.branch-name.outputs.current_branch }}
image: ${{ steps.image-tag.outputs.image }}
tag: ${{ steps.image-tag.outputs.tag }}

steps:
- name: Checkout
Expand Down

0 comments on commit 68a3782

Please sign in to comment.