diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 0039adb..dcc0855 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -13,13 +13,14 @@ jobs: - name: Check out repository code uses: actions/checkout@v4 - name: Show tags + id: latest_tag run: | git fetch --tags latest_tag=$(git describe --tags $(git rev-list --tags --max-count=1)) echo "tag=$latest_tag" >> "$GITHUB_OUTPUT" echo "💡 Latest tag: $latest_tag" - name: test - run: echo "test ${{ steps.outputs.tag }}" + run: echo "test ${{ steps.latest_tag.outputs.tag }}" # - name: Set up QEMU # uses: docker/setup-qemu-action@v3 # - name: Set up Docker Buildx