File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,13 +21,33 @@ jobs:
2121 build :
2222 name : Build, format and test
2323 runs-on : ubuntu-latest
24+ permissions :
25+ packages : write
26+ contents : write
2427 steps :
2528 - name : Checkout
2629 uses : actions/checkout@v4
2730 with :
2831 fetch-depth : 0
2932
33+ - name : Set up QEMU
34+ uses : docker/setup-qemu-action@v3
35+
36+ - name : Set up Buildx
37+ uses : docker/setup-buildx-action@v3
38+
39+ - name : Login to ghcr.io
40+ uses : docker/login-action@v3
41+ with :
42+ registry : ghcr.io
43+ username : ${{ github.actor }}
44+ password : ${{ secrets.GITHUB_TOKEN }}
45+
3046 - name : Build, format and test
31- run : ./build.cmd Compile Format Test ${{ github.ref == 'refs/heads/develop' && 'BuildImage' || '' }}
47+ run : ./build.cmd Compile Format Test
48+
49+ - name : Push development image
50+ if : ${{ github.ref == 'refs/heads/develop' }}
51+ run : ./build.cmd BuildImage
3252 env :
3353 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments