Skip to content

feat: add validate tool to format phone numbers from environment vari… #4

feat: add validate tool to format phone numbers from environment vari…

feat: add validate tool to format phone numbers from environment vari… #4

Workflow file for this run

name: Build and Push Docker Image
on:
push:
branches:
- main
env:
REGISTRY: ghcr.io
IMAGE_NAME: mcp-server
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ghcr.io/3xcaffeine/${{ env.IMAGE_NAME }}:latest
- name: Log out from GHCR
run: docker logout