Skip to content

turn off CORS for auth-gateway #5

turn off CORS for auth-gateway

turn off CORS for auth-gateway #5

Workflow file for this run

name: Build and Publish Fetch AI Auth Gateway
on:
push:
branches: [ "master" ]
paths:
- 'dockerize/secretai/*.py'
pull_request:
branches: [ "master" ]
paths:
- 'dockerize/secretai/*.py'
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write # Required to publish to ghcr.io
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: dockerize/secretai
file: dockerize/secretai/Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/fetch-auth-gateway:latest