Add GHA for Docker digest

This commit is contained in:
Felipe Knorr Kuhn 2023-03-15 22:43:41 -07:00
parent 5dc52250e6
commit 599881366b
No known key found for this signature in database
GPG Key ID: 79619B52BB097C1A

27
.github/workflows/get_image_digest.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: 'Print images digest'
on:
push:
workflow_dispatch:
inputs:
version:
description: 'Image Version'
required: false
default: 'latest'
type: string
jobs:
print-images-sha:
runs-on: 'ubuntu-latest'
name: Print digest for images
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: digest
- name: Run script
working-directory: digest
run: |
sh ./docker/scripts/get_image_digest.sh $VERSION
env:
VERSION: ${{ github.event.inputs.version }}