Skip to content

Commit

Permalink
chore: dummy
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeplotean committed Aug 12, 2024
1 parent f3fea2b commit 5c9eda4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ jobs:
tool-cache: false
docker-images: false
- uses: actions/checkout@v3

- name: Set version
run: |
sed -i "s/1.0.0-SNAPSHOT/${{ inputs.release_version }}/g" build.gradle.kts
- run: |
git tag v${{ inputs.release_version }}
git push --tags
- name: Setup cache
uses: actions/cache@v2
with:
Expand All @@ -35,15 +37,18 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Gradle wrapper validation
uses: gradle/wrapper-validation-action@v3

- name: Running gradle build
uses: eskatos/gradle-command-action@v3
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
with:
arguments: build publish --no-daemon

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand All @@ -56,24 +61,28 @@ jobs:
push: true
file: waltid-services/waltid-issuer-api/Dockerfile
tags: waltid/issuer-api:latest, waltid/issuer-api:${{ inputs.release_version }}

- name: Build and push Docker images (verifier)
uses: docker/build-push-action@v6
with:
push: true
file: waltid-services/waltid-verifier-api/Dockerfile
tags: waltid/verifier-api:latest, waltid/verifier-api:${{ inputs.release_version }}

- name: Build and push Docker images (wallet-api)
uses: docker/build-push-action@v6
with:
push: true
file: waltid-services/waltid-wallet-api/Dockerfile
tags: waltid/wallet-api:latest, waltid/wallet-api:${{ inputs.release_version }}

- name: Build and push Docker images (waltid-web-wallet)
uses: docker/build-push-action@v6
with:
push: true
file: waltid-applications/waltid-web-wallet/Dockerfile
tags: waltid/waltid-web-wallet:latest, waltid/waltid-web-wallet:${{ inputs.release_version }}

- name: Build and push Docker images (wallet-portal)
uses: docker/build-push-action@v6
with:
Expand Down Expand Up @@ -107,6 +116,7 @@ jobs:
mention-new-contributors: true
include-compare: true
semver: true

- name: Create Release
uses: softprops/action-gh-release@v2
env:
Expand Down

0 comments on commit 5c9eda4

Please sign in to comment.