Skip to content

Commit

Permalink
moving to a simpler solution. leaving G_ACcOUNT and tag untouched. na…
Browse files Browse the repository at this point in the history
…rowing changes to build args only.
  • Loading branch information
Fuma419 committed Apr 22, 2024
1 parent e6d92dc commit 624f305
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/premerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ jobs:
run: |
if [ "$IS_FORK" = "true" ]; then
echo "This means the PR is from a fork"
G_ACCOUNT="$FORK_OWNER"
BUILD_G_ACCOUNT="$FORK_OWNER"
else
echo "This means the PR is from the same repository"
G_ACCOUNT="$REPO_OWNER"
BUILD_G_ACCOUNT="$REPO_OWNER"
fi
echo "G_ACCOUNT=${G_ACCOUNT,,}" >> $GITHUB_ENV
Expand All @@ -70,7 +70,7 @@ jobs:
--compress \
--build-arg BRANCH=$BRANCH \
--build-arg COMMIT=$COMMIT_SHA \
--build-arg G_ACCOUNT=$G_ACCOUNT \
--build-arg G_ACCOUNT=$BUILD_G_ACCOUNT \
--tag $REGISTRY/$G_ACCOUNT/pre-merge-${{ matrix.distro }}:guild-deploy-l_$COMMIT_SHA
- name: Get Image ID
run: |
Expand Down

0 comments on commit 624f305

Please sign in to comment.