Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Add repository name without org
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek committed Oct 15, 2024
1 parent 5789b0f commit ac794bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
images = []
with open(".ci/.docker-images.yml", "r") as stream:
images.extend(yaml.safe_load(stream)['images'])
for image in images:
image['repository_name'] = image['repository'].split('/')[-1]
images_json = json.dumps(images)
with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
print(f'include={images_json}', file=f)
Expand Down Expand Up @@ -64,7 +67,7 @@ jobs:
"contents": "read"
}
repositories: >-
["${{ matrix.repository }}"]
["${{ matrix.repository_name }}"]
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit ac794bb

Please sign in to comment.