Updated deployment methods
parent
cbfb0d07a9
commit
9974064b82
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
export BUILD_VERSION=$1
|
||||||
|
docker login git.edwardpeterson.dev
|
||||||
|
docker-compose -f docker-compose-build.yml build --pull
|
||||||
|
docker-compose -f docker-compose-build.yml push
|
||||||
|
echo "Upload complete. Make sure to update the BUILD_VERSION env var in Portainer to $1"
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
version: '3.7'
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
amxregistry-bundler:
|
||||||
|
image: git.edwardpeterson.dev/cubemaster21/amxregistry-bundler:${BUILD_VERSION}
|
||||||
|
pull_policy: build
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
no_cache: true
|
||||||
|
context: .
|
||||||
|
dockerfile: ./Dockerfile
|
||||||
|
ports:
|
||||||
|
- 2667:2667
|
||||||
|
env_file:
|
||||||
|
- stack.env
|
||||||
Loading…
Reference in New Issue