Skip to content

Commit

Permalink
do not hardcore repository in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Nov 14, 2024
1 parent 1171057 commit 8f6d8fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:

env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
IMAGE_NAME: elastic/docs-builder
IMAGE_NAME: ${{ github.repository }}
BASE_IMAGE: mcr.microsoft.com/dotnet/nightly/runtime-deps:8.0-jammy-chiseled-aot
DOCKER_TAG: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && 'latest;edge' || 'edge' }}

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ inputs:

runs:
using: 'docker'
image: 'docker://ghcr.io/mpdreamz/docs-builder:edge'
image: "docker://ghcr.io/${{ github.repository }}:edge"

0 comments on commit 8f6d8fb

Please sign in to comment.