From 2d9ded65ddbd9fd1c8376bae9bb8b8c4dae2cd48 Mon Sep 17 00:00:00 2001 From: elraro Date: Thu, 28 Mar 2024 20:07:18 +0100 Subject: [PATCH] Update docker-release.yaml --- .github/workflows/docker-release.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/docker-release.yaml b/.github/workflows/docker-release.yaml index 569501b..27d5901 100644 --- a/.github/workflows/docker-release.yaml +++ b/.github/workflows/docker-release.yaml @@ -11,6 +11,21 @@ env: REGISTRY: ghcr.io jobs: + info: + runs-on: ubuntu-latest + name: Get repository information + outputs: + version: ${{ steps.vars.outputs.version }} + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + repository: elraro/StarWarsSounds_bot + fetch-depth: 0 + token: ${{ github.token }} + - name: Set up variables + id: vars + run: echo "version=$(git describe --abbrev=0 --tags HEAD)" >> $GITHUB_OUTPUT build: runs-on: ubuntu-latest env: