From 3b3ce9c8e500e4a93e60ad7267b080c94269e4d1 Mon Sep 17 00:00:00 2001 From: mikeplotean Date: Tue, 4 Apr 2023 15:12:56 +0300 Subject: [PATCH] don't publish on build workflow --- .github/workflows/build.yml | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 45865fc96..48e82a1a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,19 +46,20 @@ jobs: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} with: - arguments: build publish --no-daemon - - name: Docker Build and Push SNAPSHOT - uses: philpotisk/github-action-docker-build-push@master - env: - DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}} - DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} - DOCKER_FILE: Dockerfile - CONTAINER_TAG: waltid/ssikit:latest - - name: Prepare CD K8S - run: sed "s/_DEFAULT_DEPLOYMENT_/$GITHUB_SHA/g" k8s/deployment-dev.yaml > k8s/deployment-dev_mod.yaml - - name: Continuous deployment K8S - uses: actions-hub/kubectl@master - env: - KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} - with: - args: apply -n dev -f k8s/deployment-dev_mod.yaml + arguments: build --no-daemon +# arguments: build publish --no-daemon +# - name: Docker Build and Push SNAPSHOT +# uses: philpotisk/github-action-docker-build-push@master +# env: +# DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}} +# DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} +# DOCKER_FILE: Dockerfile +# CONTAINER_TAG: waltid/ssikit:latest +# - name: Prepare CD K8S +# run: sed "s/_DEFAULT_DEPLOYMENT_/$GITHUB_SHA/g" k8s/deployment-dev.yaml > k8s/deployment-dev_mod.yaml +# - name: Continuous deployment K8S +# uses: actions-hub/kubectl@master +# env: +# KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} +# with: +# args: apply -n dev -f k8s/deployment-dev_mod.yaml