mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 21:32:55 +01:00
Add GHA for Docker digest
This commit is contained in:
parent
5dc52250e6
commit
599881366b
27
.github/workflows/get_image_digest.yml
vendored
Normal file
27
.github/workflows/get_image_digest.yml
vendored
Normal 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 }}
|
Loading…
Reference in New Issue
Block a user