File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ jobs :
8+ build :
9+ if : " !startsWith(github.event.head_commit.message, 'ci:')"
10+ runs-on : ubuntu-latest
11+ permissions :
12+ packages : write
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - name : Log in to GitHub Container Registry
18+ uses : docker/login-action@v3
19+ with :
20+ registry : ghcr.io
21+ username : ${{ github.actor }}
22+ password : ${{ secrets.GITHUB_TOKEN }}
23+
24+ - name : Build and push gateway
25+ run : |
26+ docker build -t ghcr.io/inno-devops-labs/quickticket-gateway:${{ github.sha }} ./app/gateway
27+ docker push ghcr.io/inno-devops-labs/quickticket-gateway:${{ github.sha }}
28+
29+ - name : Build and push events
30+ run : |
31+ docker build -t ghcr.io/inno-devops-labs/quickticket-events:${{ github.sha }} ./app/events
32+ docker push ghcr.io/inno-devops-labs/quickticket-events:${{ github.sha }}
33+
34+ - name : Build and push payments
35+ run : |
36+ docker build -t ghcr.io/inno-devops-labs/quickticket-payments:${{ github.sha }} ./app/payments
37+ docker push ghcr.io/inno-devops-labs/quickticket-payments:${{ github.sha }}
You can’t perform that action at this time.
0 commit comments