Skip to content

Commit fdac5a3

Browse files
committed
disable v2
1 parent f8bdbc9 commit fdac5a3

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
./bin/create_version.sh "${GITHUB_REF##*/}" 1
3333
3434
# Build all containers
35-
QUTEX_VERSION=$(echo ${GITHUB_REF##*/}) docker compose -f docker-compose.yml -f docker-compose.build.yml build
36-
QUTEX_VERSION=$(echo ${GITHUB_REF##*/}) docker compose -f docker-compose.yml -f docker-compose.build.yml push
35+
QUTEX_VERSION=$(echo ${GITHUB_REF##*/}) docker compose disable-v2 -f docker-compose.yml -f docker-compose.build.yml build
36+
QUTEX_VERSION=$(echo ${GITHUB_REF##*/}) docker compose disable-v2 -f docker-compose.yml -f docker-compose.build.yml push
3737
env:
3838
DOCKER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

bin/create_version.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
echo "=> Creating version"
4+
35
today=$(date +"%b %d, %Y")
46

57
QUTEX_RELEASE_DATE="$today"
@@ -16,4 +18,6 @@ fi;
1618
echo "QUTEX_RELEASE_DATE=${QUTEX_RELEASE_DATE}
1719
QUTEX_VERSION=${QUTEX_VERSION}" > .version.env
1820

19-
cat .version.env
21+
cat .version.env
22+
23+
echo "=> Done"

bin/deploy_stack.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,17 @@ else
77
echo "Version number found: $1"
88
fi
99

10+
echo "=> Deploying Documentation"
11+
1012
# Deploy the docs to docs.qutexbot.com
1113
mkdocs gh-deploy
1214

15+
echo "=> Done"
16+
1317
./create_version.sh "$1"
1418

15-
env QUTEX_VERSION="${QUTEX_VERSION}" docker --context qutex stack deploy --with-registry-auth qutex -c docker-compose.yml
19+
echo "=> Depoying"
20+
21+
env QUTEX_VERSION="${QUTEX_VERSION}" docker --context qutex stack deploy --with-registry-auth qutex -c docker-compose.yml
22+
23+
echo "=> Done"

0 commit comments

Comments
 (0)