From b44297886a4292bb0cacc3f2cae2e46d13ad7c5f Mon Sep 17 00:00:00 2001 From: mikeplotean <101570226+mikeplotean@users.noreply.github.com> Date: Fri, 3 Nov 2023 12:09:39 +0200 Subject: [PATCH] ci: added docker build and push for issuer and verifier (#16) --- .github/workflows/release.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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