Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blockscout/.github/actions/setup-repo-and-short-sha/action.yml

23 lines
721 B

name: 'Setup repo and calc short SHA commit'
description: 'Setup repo: checkout/login/extract metadata, Set up Docker Buildx and calculate short SHA commit'
inputs:
docker-username:
description: 'Docker username'
required: true
docker-password:
description: 'Docker password'
required: true
runs:
using: "composite"
steps:
- uses: actions/checkout@v4
- name: Setup repo
uses: ./.github/actions/setup-repo
with:
docker-username: ${{ inputs.docker-username }}
docker-password: ${{ inputs.docker-password }}
- name: Add SHORT_SHA env property with commit short sha
shell: bash
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV