Add image digest as output
This commit is contained in:
@@ -13,6 +13,10 @@ on:
|
|||||||
webhook_url:
|
webhook_url:
|
||||||
description: Webhook to call after build is completed
|
description: Webhook to call after build is completed
|
||||||
type: string
|
type: string
|
||||||
|
outputs:
|
||||||
|
digest:
|
||||||
|
description: Digest of the build docker container
|
||||||
|
value: ${{ jobs.build.outputs.digest }}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
OCI_REPO: git.huizinga.dev/dreaded_x/${{ gitea.event.repository.name}}
|
OCI_REPO: git.huizinga.dev/dreaded_x/${{ gitea.event.repository.name}}
|
||||||
@@ -21,6 +25,8 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: Build container and manifests
|
name: Build container and manifests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
digest: ${{ steps.build.outputs.digest }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user