From d5000aea299ed6efa5cfa7e9b3319c7064eec470 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Shinosaki=20/=20=E7=AF=A0=E5=B4=8E?= <88357168+shinosaki@users.noreply.github.com> Date: Thu, 22 Feb 2024 10:20:45 +0900 Subject: [PATCH] Update debian.yml --- .github/workflows/debian.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 28034c4..9883009 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -3,7 +3,7 @@ on: workflow_dispatch: push: tags: - - debian-* + - debian-*-* # env: # DEB_REPO: http://mirrors.edge.kernel.org/debian jobs: @@ -19,7 +19,10 @@ jobs: with: platforms: ${{ matrix.arch }} - - run: echo "DEB_SUITE=${GITHUB_REF_NAME#debian-}" >> $GITHUB_ENV + - run: | + TAG=${GITHUB_REF_NAME} + TAG=${TAG#*-}; TAG=${TAG%-*} + echo "DEB_SUITE=${TAG}" >> $GITHUB_ENV - name: Build debootstrap docker image run: docker build -t debootstrap ./debian