Skip to content

Commit 1b67953

Browse files
committed
fix repo name
1 parent b680f61 commit 1b67953

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@ jobs:
3838
run: |
3939
set -o errexit
4040
41+
REPO_NAME=${GITHUB_REPOSITORY#${GITHUB_REPOSITORY_OWNER}/}
42+
4143
TAG_NAME=$(git describe --exact-match)
4244
git tag --list --format='%(contents)' "$TAG_NAME" > RELEASE-NOTES
4345
4446
for cur_arch in $ARCH; do
45-
docker build . --platform linux/$cur_arch -t ${{ github.repository_name }}
46-
docker save ${{ github.repository_name }} -o "${{ github.repository_name }}-$TAG_NAME-$cur_arch.tar"
47+
docker build . --platform linux/$cur_arch -t $REPO_NAME
48+
docker save ${{ github.repository_name }} -o "$REPO_NAME-$TAG_NAME-$cur_arch.tar"
4749
done
4850
4951
- name: Create Release

0 commit comments

Comments
 (0)