File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 74
74
GITHUB_REPOSITORY=" ${GITHUB_REPOSITORY,,} "
75
75
dockerfile_unique=" ${dockerfile_unique// / _} "
76
76
dockerfile_unique=" ${dockerfile_unique,,} "
77
+ repo_without_org=$( echo " $GITHUB_REPOSITORY " | sed " s/[^\/]*\///" )
77
78
78
79
# This tag will be used to identify the built dockerfile. Once it is built,
79
80
# it should not need to be built again, so after the first Github Actions run
80
81
# the build should be very quick.
81
82
# Note: The GITHUB_REPOSITORY is the repo where the action is running, nothing
82
83
# to do with the php-actions organisation. This means that the image is pushed
83
84
# onto a user's Github profile (currently not shared between other users).
84
- docker_tag=" docker.pkg.github.com/${GITHUB_REPOSITORY} /php-actions_${base_repo} :${dockerfile_unique} "
85
+ docker_tag=" docker.pkg.github.com/${GITHUB_REPOSITORY} /php-actions_${base_repo} _ ${repo_without_org} :${dockerfile_unique} "
85
86
echo " $docker_tag " > ./docker_tag
86
87
87
88
# Attempt to pull the existing Docker image, if it exists. If the image has
You can’t perform that action at this time.
0 commit comments