Skip to content

Commit 2190214

Browse files
committed
Configure release
1 parent 45947a3 commit 2190214

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)