Skip to content

Commit 1103017

Browse files
committed
Add missing env var
1 parent 380565f commit 1103017

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci-pipeline.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ jobs:
2525
test:
2626
runs-on: ubuntu-latest
2727
steps:
28+
# GitHub gives only repository complete in <owner>/<repo> format.
29+
# Need some manual shenanigans
30+
# Set IMAGE_NAME so we can push to <owner>/<repo>/<image>
31+
# Transform os/arch to os-arch for suffix target
32+
- name: Set ENV variables
33+
run: |
34+
echo "IMAGE_NAME=${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/}" >> $GITHUB_ENV
35+
2836
- name: Checkout repository
2937
uses: actions/checkout@v4
3038

0 commit comments

Comments
 (0)