replace -e with --build-arg in docker build call

This commit is contained in:
einhornimmond 2021-09-06 17:32:23 +02:00
parent 761bd17290
commit 2937fc7c07

View File

@ -22,7 +22,7 @@ jobs:
##########################################################################
- name: Frontend | Build `test` image
run: |
docker build -e BUILD_COMMIT="$(git rev-parse HEAD)" --target test -t "gradido/frontend:test" frontend/
docker build --build-arg BUILD_COMMIT="$(git rev-parse HEAD)" --target test -t "gradido/frontend:test" frontend/
docker save "gradido/frontend:test" > /tmp/frontend.tar
- name: Upload Artifact
uses: actions/upload-artifact@v2