full-stack-fastapi-template icon indicating copy to clipboard operation
full-stack-fastapi-template copied to clipboard

scripts/build.sh: line 6: TAG: Variable not set

Open luquitared opened this issue 4 years ago • 1 comments

Hi,

I am trying to deploy with docker swarm.

I've done all steps in the https://dockerswarm.rocks/ but am stuck on running the build.sh file.

I've set all my env files, including doing export TAG=mytag

but when running the sh file, bash cannot find the TAG env var and I receive this error: scripts/build.sh: line 6: TAG: Variable not set

Any thoughts? Thanks :)

luquitared avatar Jan 21 '21 03:01 luquitared

https://github.com/tiangolo/full-stack-fastapi-postgresql/issues/322, similar issue, this might help

Hi,

I am trying to deploy with docker swarm.

I've done all steps in the https://dockerswarm.rocks/ but am stuck on running the build.sh file.

I've set all my env files, including doing export TAG=mytag

but when running the sh file, bash cannot find the TAG env var and I receive this error: scripts/build.sh: line 6: TAG: Variable not set

Any thoughts? Thanks :)

Migueacalle98 avatar Sep 02 '21 00:09 Migueacalle98