env in docker run command

This commit is contained in:
Ulf Gebhardt 2021-01-20 15:02:07 +01:00
parent 42b9446d0a
commit cb27c737ee
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -55,9 +55,7 @@ jobs:
# Unit Tests
- name: backend | unit tests
run: docker run --rm ocelotsocialnetwork/backend:build yarn run test
env:
MAPBOX_TOKEN: "123ABC"
run: docker run --env MAPBOX_TOKEN=123ABC --rm ocelotsocialnetwork/backend:build yarn run test
##########################################################################
# WEBAPP #################################################################