Add OPTIONS endpoint to allow the content-type header for the upload … #245
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- 'v*.*.*' | |
paths-ignore: | |
- '**/*.md' | |
- '.gitignore' | |
- '.github/**' | |
- '!.github/workflows/docker.yml' | |
- '!.github/workflows/docker-reusable.yml' | |
- 'docker/**' | |
- '!docker/codex.Dockerfile' | |
- '!docker/docker-entrypoint.sh' | |
workflow_dispatch: | |
jobs: | |
build-and-push: | |
name: Build and Push | |
uses: ./.github/workflows/docker-reusable.yml | |
with: | |
tag_latest: ${{ github.ref_name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/') }} | |
secrets: inherit |