Skip to content

Commit

Permalink
Document docker tag file
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Dec 17, 2020
1 parent d8993e5 commit 84362a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ For example: `gd xdebug-2.9.7 zip`.

The functionality of building PHP extensions is provided by [mlocati's docker-php-extension-installer repository][mlocati]. A full list of supported extension names is [available within the readme][mlocati-readme].

Using the docker tag from subsequent scripts
--------------------------------------------

Once the Docker image is built and tagged, the name of the tag will be written to a file called `docker-tag` within the current working directory. This can then be read by a subsequent script.

***

If you found this repository helpful, please consider [sponsoring the developer][sponsor].
Expand Down
3 changes: 0 additions & 3 deletions php-build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ dockerfile_unique="${dockerfile_unique,,}"
docker_tag="docker.pkg.github.com/${GITHUB_REPOSITORY}/php-actions_${base_repo}:${dockerfile_unique}"
echo "$docker_tag" > ./docker_tag

github_action_path=$(dirname "$0")
cd "${github_action_path}"

# Attempt to pull the existing Docker image, if it exists. If the image has
# been pushed previously, this image should take preference and a new image
# will not need to be built.
Expand Down

0 comments on commit 84362a0

Please sign in to comment.