File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Production
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ production :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ package : [property-base, property-tree]
13+
14+ steps :
15+ - name : 🛎️ Checkout
16+ uses : actions/checkout@v3
17+
18+ - name : 🔐 Login to Docker Registry
19+ uses : docker/login-action@v2
20+ with :
21+ registry : ghcr.io
22+ username : ${{ github.actor }}
23+ password : ${{ secrets.GITHUB_TOKEN }}
24+
25+ - name : 🔧 Build and push Docker Image
26+ uses : docker/build-push-action@v4
27+ with :
28+ context : ./packages/${{ matrix.package }}
29+ file : ./packages/${{ matrix.package }}/Dockerfile
30+ push : true
31+ tags : |
32+ ghcr.io/bostads-ab-mimer/onecore-core/${{ matrix.package }}:release-${{ github.event.release.tag_name }}
You can’t perform that action at this time.
0 commit comments