Skip to content

Publish meteor

Publish meteor #9

Workflow file for this run

name: Publish meteor
on:
release:
types: [created]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
tags: aghozlane/meteor:latest
build_conda:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: conda/build_env.yaml
auto-update-conda: false
channels: conda-forge,bioconda,aghozlane,defaults
- name: Build and upload the conda packages
uses: uibcdf/[email protected]
with:
meta_yaml_dir: devtools/conda-build
platform_linux-64: true
platform_osx-64: true
user: aghozlane
label: auto
token: ${{ secrets.ANACONDA_TOKEN }} # Replace with the right name of your secret
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v4
# see details (matrix, python-version, python-version-file, etc.)
# https://github.com/actions/setup-python
- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Build and publish to PyPI
run: |
poetry config http-basic.pypi __token__ ${{ secrets.PYPI_PASS }}
poetry build -C meteor
poetry publish -C meteor