File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,21 @@ jobs:
2222 cache : " gradle"
2323
2424 - name : Build project
25- run : ./gradlew clean build
25+ run : ./gradlew clean assemble
2626
2727 - name : Login to Docker Hub
2828 uses : docker/login-action@v2
2929 with :
3030 username : ${{ secrets.DOCKER_HUB_USERNAME }}
3131 password : ${{ secrets.DOCKER_HUB_TOKEN }}
3232
33- - name : Build images
34- timeout-minutes : 10
35- run : docker compose build
36-
37- - name : Push images
38- run : docker compose push
33+ - name : Build and push
34+ uses : docker/build-push-action@v6
35+ with :
36+ context : .
37+ platforms : linux/amd64,linux/arm64
38+ tags : romanowalex/data-migration-job:${{ github.ref_name }}
39+ push : true
3940
4041 - name : Create release
4142 uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments