From e92fa95f24de678d92a9869561cb036fcc57dd30 Mon Sep 17 00:00:00 2001 From: Arwyn <10365998+ArwynFr@users.noreply.github.com> Date: Wed, 31 May 2023 08:17:44 +0200 Subject: [PATCH] ci: fix deployment workflow (#2) --- .github/workflows/deployment.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index 48b07ac..ad34619 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -34,12 +34,19 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and publish docker image + - name: Build Docker image run: > - docker build --push + docker build --file build/Dockerfile --tag ghcr.io/team-gsri/apps-admin-client:${{ steps.next-version.outputs.next-version }} dist/gsri-admin + + - name: Publish Docker image + run: docker push ghcr.io/team-gsri/apps-admin-client:${{ steps.next-version.outputs.next-version }} - name: Publish GitHub release - uses: arwynfr/actions-conventional-versioning@v2 + uses: arwynfr/actions-conventional-versioning@v3 + with: + allow-additional-modifiers: true + feat-upgrades-minor: false + strict-types: true