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

This commit is contained in:
einhornimmond 2021-09-06 17:32:23 +02:00 committed by Ulf Gebhardt
parent 49d6d75f63
commit 97b6ef0ac2
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

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