From 599881366b94c5e4e6221c4a55bf86234c32f1ad Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn Date: Wed, 15 Mar 2023 22:43:41 -0700 Subject: [PATCH] Add GHA for Docker digest --- .github/workflows/get_image_digest.yml | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/get_image_digest.yml diff --git a/.github/workflows/get_image_digest.yml b/.github/workflows/get_image_digest.yml new file mode 100644 index 000000000..1fcc16d0e --- /dev/null +++ b/.github/workflows/get_image_digest.yml @@ -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 }}