Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,30 +44,3 @@ jobs:
- uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ${{ needs.package_name.outputs.package_name}}/dist

docker:
name: Build Docker Image
runs-on: ubuntu-latest
needs: package_name
if: ${{ needs.package_name.outputs.package_name }} == 'stapi-fastapi'

permissions:
contents: read
packages: write
id-token: write

steps:
- name: Log in to the Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and Push Docker Image
uses: docker/build-push-action@v6
with:
push: true
tags: stapi-spec/stapi-fastapi:${{ github.ref_name }}
build-args: PYTHON_VERSION='3.12'