mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-27 15:45:47 +01:00
Use env variables configured for the action
This commit is contained in:
parent
522f91f12a
commit
14248b1449
@ -1,3 +1,5 @@
|
||||
docker stop my_website && \
|
||||
docker container rm $(docker ps -aqf "name=my_website") && \
|
||||
docker run -d -p 8505:80 --name my_website maciejpedzi.ch:latest
|
||||
#!/usr/bin/sh
|
||||
|
||||
docker stop $CONTAINER_NAME && \
|
||||
docker container rm $(docker ps -aqf "name=$CONTAINER_NAME") && \
|
||||
docker run -d -p $PORT_PAIR --netwok $NETWORK_NAME --name $CONTAINER_NAME $IMAGE_TAG
|
||||
|
Loading…
Reference in New Issue
Block a user