- name: Get tag
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- - name: Set up Python 3.10
+ - name: Set up Python 3.11
uses: actions/setup-python@v5.0.0
with:
- python-version: "3.10"
+ python-version: "3.11"
- name: Install build
run: >-
pip install build tomli tomli-w
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
- name: Wait for PyPI
- run: sleep 120
+ run: sleep 300
build-and-push-container-image:
name: Builds and pushes the Music Assistant Server container to ghcr.io
packages: write
needs: build-and-publish-pypi
steps:
- - name: Sleep for 60 seconds (to prevent race condition with the pypi upload)
- run: sleep 60s
- shell: bash
- uses: actions/checkout@v4
- name: Log in to the GitHub container registry
uses: docker/login-action@v3.0.0