From 65082d2b4229ced22d309a3e7e5c405c93b9fcfd Mon Sep 17 00:00:00 2001 From: Amine GHOZLANE Date: Tue, 5 Mar 2024 11:50:50 +0100 Subject: [PATCH] Update publish code --- .github/workflows/publish_meteor.yml | 14 ++++++-------- conda_recipe/meta.yaml | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish_meteor.yml b/.github/workflows/publish_meteor.yml index cb31c48..427d446 100644 --- a/.github/workflows/publish_meteor.yml +++ b/.github/workflows/publish_meteor.yml @@ -8,23 +8,21 @@ jobs: docker: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v4 - 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: . + platforms: linux/amd64,linux/arm64 push: true - username: ${{ secrets.DOCKER_USER }} - password: ${{ secrets.DOCKER_PASS }} tags: aghozlane/meteor:latest + secrets: | + "github_token=${{ secrets.DOCKER_TOKEN }}" build_conda: runs-on: ubuntu-latest @@ -57,7 +55,7 @@ jobs: uses: abatilo/actions-poetry@v2 - name: Build and publish to PyPI run: | - poetry config http-basic.pypi __token__ ${{ secrets.PYPI_PASS }} + poetry config http-basic.pypi __token__ ${{ secrets.PYPI_TOKEN }} poetry build -C meteor poetry publish -C meteor diff --git a/conda_recipe/meta.yaml b/conda_recipe/meta.yaml index 30312aa..c096c0c 100644 --- a/conda_recipe/meta.yaml +++ b/conda_recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "meteor" %} -{% set version = "3.4" %} +{% set version = "2.0.0" %} package: name: {{ name }}