Merge pull request #3408 from knorrium/gha_docker_digest

Docker digest GHA
This commit is contained in:
wiz 2023-03-17 14:49:19 +09:00 committed by GitHub
commit c9f4bdda17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,26 @@
name: 'Print images digest'
on:
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 }}