diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index dc72fca..0000000 --- a/.github/workflows/docker.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Build and Push Docker Image - -on: - release: - types: [published] - -env: - REGISTRY: docker.io - IMAGE_NAME: zencoderai/slack-mcp - -jobs: - build-and-push: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Log in to Docker Hub - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Extract version from tag - id: version - run: | - # Remove 'v' prefix if present (e.g., v1.0.0 -> 1.0.0) - VERSION=${GITHUB_REF#refs/tags/} - VERSION=${VERSION#v} - echo "version=${VERSION}" >> $GITHUB_OUTPUT - echo "Version: ${VERSION}" - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.version }} - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Update Docker Hub description - uses: peter-evans/dockerhub-description@v4 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - repository: ${{ env.IMAGE_NAME }} - readme-filepath: ./README.md \ No newline at end of file diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 4e8b29d..d89db23 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -45,6 +45,6 @@ jobs: npm version ${{ steps.version.outputs.version }} --no-git-tag-version - name: Publish to NPM - run: npm publish --provenance --access restricted + run: npm publish --provenance --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 76dd0ac..ab082f7 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "bugs": "https://github.com/sigmacomputing/slack-mcp-server/issues", "publishConfig": { - "access": "restricted" + "access": "public" }, "type": "module", "bin": {