diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/push.yaml similarity index 85% rename from .gitea/workflows/build.yaml rename to .gitea/workflows/push.yaml index 4c55531..343d733 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/push.yaml @@ -1,5 +1,3 @@ -name: Build & Push Docker Image - on: push jobs: @@ -14,7 +12,9 @@ jobs: uses: actions/setup-node@v3 with: node-version: 20 - registry-url: https://git.kaderli.dev/api/packages/severinkaderli/npm/ + + - name: Add custom npm package registry + run: npm config set @severinkaderli:registry https://git.kaderli.dev/api/packages/severinkaderli/npm/ - name: Install dependencies run: npm ci @@ -24,6 +24,7 @@ jobs: build-and-push-docker-image: name: Build & Push Docker Image + needs: check-format runs-on: ubuntu-latest container: image: catthehacker/ubuntu:act-latest