File tree Expand file tree Collapse file tree 2 files changed +22
-6
lines changed
Expand file tree Collapse file tree 2 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 1+ name : Release tag
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+
8+ jobs :
9+ docker :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+ - name : Log into Github registry
17+ run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
18+ - name : Docker build and push
19+ run : |
20+ docker build --build-arg VERSION=${GITHUB_REF##*/} -t ghcr.io/0xsequence/sidekick:${GITHUB_REF##*/} -t ghcr.io/0xsequence/sidekick:latest .
21+ docker push ghcr.io/0xsequence/sidekick:${GITHUB_REF##*/}
22+ docker push ghcr.io/0xsequence/sidekick:latest
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- # Wait for database to be ready
4- while ! nc -z $DATABASE_HOST $DATABASE_PORT ; do
5- echo " Waiting for database connection..."
6- sleep 1
7- done
8-
93# Run migrations
104pnpm prisma migrate deploy
115
You can’t perform that action at this time.
0 commit comments