diff --git a/.gitea/workflows/build-and-publish.yml b/.gitea/workflows/build-and-publish.yml index c8d04ef..ae32317 100644 --- a/.gitea/workflows/build-and-publish.yml +++ b/.gitea/workflows/build-and-publish.yml @@ -52,11 +52,11 @@ jobs: uses: docker/build-push-action@v6 with: context: . + build-args: | + NPM_TOKEN=${{ secrets.NPM_TOKEN }} file: ./Dockerfile push: true tags: ${{ steps.set_tags.outputs.image_tags }} - env: - NPM_TOKEN: ${{secrets.NPM_TOKEN}} - name: Set Portainer Webhook URL run: |