Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
Add comment explaining variable usage in GHA step command
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonnnj committed Dec 2, 2020
1 parent ec77abe commit f525714
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ jobs:
run: |
echo "GH_SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
- name: Build Docker image
# DOCKER_BUILDKIT=1 tells Docker to use BuildKit when building the
# image per:
# https://docs.docker.com/develop/develop-images/build_enhancements/
run: |
DOCKER_BUILDKIT=1 docker-compose build \
--build-arg PY_VERSION=${{ matrix.python-version }} \
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build Docker image
# DOCKER_BUILDKIT=1 tells Docker to use BuildKit when building the
# image per:
# https://docs.docker.com/develop/develop-images/build_enhancements/
run: |
DOCKER_BUILDKIT=1 docker-compose build \
--build-arg PY_VERSION=${{ matrix.python-version }} \
Expand Down

0 comments on commit f525714

Please sign in to comment.