Skip to content

Commit 8f6d8fb

Browse files
committed
do not hardcore repository in github action
1 parent 1171057 commit 8f6d8fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

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

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ inputs:
1212

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

0 commit comments

Comments
 (0)