Skip to content

Commit

Permalink
Configure release
Browse files Browse the repository at this point in the history
  • Loading branch information
Romanow committed Feb 19, 2025
1 parent 45947a3 commit 2190214
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,21 @@ jobs:
cache: "gradle"

- name: Build project
run: ./gradlew clean build
run: ./gradlew clean assemble

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}

- name: Build images
timeout-minutes: 10
run: docker compose build

- name: Push images
run: docker compose push
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
tags: romanowalex/data-migration-job:${{ github.ref_name }}
push: true

- name: Create release
uses: softprops/action-gh-release@v2

0 comments on commit 2190214

Please sign in to comment.