diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d49aa00c2..4a1e5f104 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,23 @@ jobs: MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} with: arguments: build publish --no-daemon + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Build and push Docker images (issuer) + uses: docker/build-push-action@v4.0.0 + with: + push: true + file: docker/issuer.Dockerfile + tags: waltid/issuer:latest, waltid/issuer:${{ env.release_version }} + - name: Build and push Docker images (verifier) + uses: docker/build-push-action@v4.0.0 + with: + push: true + file: docker/verifier.Dockerfile + tags: waltid/verifier:latest, waltid/verifier:${{ env.release_version }} - name: Changelog uses: ardalanamini/auto-changelog@v3 id: changelog