diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 920d38f..a12b749 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -3,6 +3,12 @@ name: Build, Scan and Push Image on: workflow_call: + outputs: + tag: + value: ${{ jobs.build-push.outputs.tag }} + tags: + value: ${{ jobs.build-push.outputs.tags }} + inputs: image: type: string @@ -63,6 +69,9 @@ jobs: name: Build and Push runs-on: ${{ fromJson(inputs.runs-on) }} timeout-minutes: 10 + outputs: + tag: ${{ fromJson(steps.meta.outputs.json).tags[0] }} + tags: ${{ steps.meta.outputs.tags }} steps: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2