Skip to content

Commit df76062

Browse files
committed
fix(ci): Attemps to Fix argument parsing for build-layers
1 parent 087aab9 commit df76062

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/create-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ jobs:
6262
- name: Build and test
6363
run: |
6464
poetry run tox -e build-layers -- \
65-
-t ${{ env.version }} --release ${{ env.version }} --cache \
66-
--build-arg HUSKY_DIRECTORY_VERSION=${{ env.version }}
65+
-t ${{ env.version }} --release ${{ env.version }} --cache --build-arg HUSKY_DIRECTORY_VERSION=${{ env.version }}
6766
poetry run tox -e unit-tests
6867
6968
- name: Create release ${{ needs.configure-release.outputs.version }}

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ commands = black husky_directory tests
4242

4343

4444
[testenv:build-layers]
45-
passenv = HUSKY_DIRECTORY_VERSION
46-
commands = bash -c "set -x; $(fingerprinter -o build-script) -t tox {posargs} --build-arg HUSKY_DIRECTORY_VERSION=${HUSKY_DIRECTORY_VERSION}"
45+
commands = bash -c "set -x; $(fingerprinter -o build-script) -t tox {posargs} --build-arg HUSKY_DIRECTORY_VERSION={env:HUSKY_DIRECTORY_VERSION}"
4746

4847
[testenv:flake8]
4948
deps = flake8

0 commit comments

Comments
 (0)