diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1377f5..d94a1d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,6 +89,7 @@ jobs: context: . file: ./Dockerfile push: false + target: production tags: cossas/soarca-gui:pr-${{ env.describe_version }} build-args: | VERSION=${{ env.describe_version }} diff --git a/.github/workflows/development-release.yml b/.github/workflows/development-release.yml index 9ed9412..32b2fe2 100644 --- a/.github/workflows/development-release.yml +++ b/.github/workflows/development-release.yml @@ -37,13 +37,6 @@ jobs: - name: Build with npm run: npm run build - - name: "Upload Artifact" - uses: actions/upload-artifact@v6 - with: - name: ${{ github.sha }} - path: dist/* - retention-days: 1 - docker-build: needs: build name: Build docker image and push it to docker hub @@ -61,17 +54,6 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Download dist - uses: actions/download-artifact@v7 - with: - pattern: ${{ github.sha }} - - - name: Move files to bin folder and make executable - run: | - mkdir -p bin - mv ${{ github.sha }}/* ./bin/ - chmod +x bin/soarca-gui-* - - name: Login to Docker Hub uses: docker/login-action@v3 with: @@ -89,5 +71,6 @@ jobs: context: . build-args: | VERSION=${{ env.describe_version }} - push: false + push: true + target: production tags: cossas/soarca-gui:${{ env.describe_version }},cossas/soarca-gui:development