webssh2/.github/workflows/action-test.yml
2022-07-29 09:34:26 -04:00

31 lines
586 B
YAML

name: Docker Image Tags
on:
workflow_dispatch:
inputs:
tag:
description: 'Repo Branch/Tag'
default: 'main'
type: 'string'
required: true
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
ref: ${{ inputs.tag }}
- name: 'get sha'
run: |
git rev-parse --short ${{ inputs.tag }}
git --version
git rev-parse --short
MYSHA=$(git rev-parse ${{ inputs.tag }})
- name: env
run: env