Skip to content

Commit

Permalink
fix(workflows/docker_images): Fix name of repo
Browse files Browse the repository at this point in the history
Name of repo will be invalid and use caller(who initiated workflow)
name.

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
  • Loading branch information
nuclearcat committed Oct 18, 2024
1 parent f4ecf53 commit 13df977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
pipeline_rev=$(git show --pretty=format:%H -s origin/${{ env.USER_GIT_BRANCH }})
cd ../kernelci-core
rev_arg="--build-arg core_rev=$core_rev --build-arg api_rev=$api_rev --build-arg pipeline_rev=$pipeline_rev"
kci_arg="build --push $rev_arg --prefix=ghcr.io/${{ github.actor }}/"
kci_arg="build --push $rev_arg --prefix=ghcr.io/kernelci/"
./kci docker $kci_arg ${{ matrix.kcicmd }}
- name: build base kernelci docker image for other branches
if: ${{ env.USER_GIT_BRANCH != 'main' }}
Expand All @@ -153,5 +153,5 @@ jobs:
pipeline_rev=$(git show --pretty=format:%H -s origin/${{ env.USER_GIT_BRANCH }})
cd ../kernelci-core
rev_arg="--build-arg core_rev=$core_rev --build-arg api_rev=$api_rev --build-arg pipeline_rev=$pipeline_rev"
kci_arg="build --push $rev_arg --prefix=ghcr.io/${{ github.actor }}/staging-"
kci_arg="build --push $rev_arg --prefix=ghcr.io/kernelci/staging-"
./kci docker $kci_arg ${{ matrix.kcicmd }}

0 comments on commit 13df977

Please sign in to comment.