Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
WAL-3320 update pypi source
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Milani committed Jan 10, 2024
1 parent fdbe312 commit 78d1c68
Show file tree
Hide file tree
Showing 11 changed files with 711 additions and 712 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
python-version: "3.10"
- run: pip install poetry
- run: poetry config virtualenvs.create false
- run: poetry config http-basic.bink-pypi 269fdc63-af3d-4eca-8101-8bddc22d6f14 b694b5b1-f97e-49e4-959e-f3c202e3ab91
- run: poetry config http-basic.azure jeff ${{ secrets.AZURE_DEVOPS_PAT }}
- run: poetry install
- run: alembic upgrade head
- run: black --check .
Expand Down Expand Up @@ -85,6 +85,8 @@ jobs:
- uses: docker/build-push-action@v4
with:
context: .
build-args: |
PIP_INDEX_URL=${{ secrets.AZURE_DEVOPS_PAT_URL }}
push: true
tags: |
binkcore.azurecr.io/${{ github.event.repository.name }}:${{ env.container_tag }}
Expand Down Expand Up @@ -112,6 +114,8 @@ jobs:
- uses: docker/build-push-action@v4
with:
context: .
build-args: |
PIP_INDEX_URL=${{ secrets.AZURE_DEVOPS_PAT_URL }}
push: true
tags: |
binkcore.azurecr.io/${{ github.event.repository.name }}:${{ github.event.release.tag_name }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN poetry build

FROM ghcr.io/binkhq/python:3.10

ENV PIP_INDEX_URL=https://269fdc63-af3d-4eca-8101-8bddc22d6f14:[email protected]/simple
ARG PIP_INDEX_URL
WORKDIR /app
ARG wheel=polaris-*-py3-none-any.whl
COPY --from=build /src/alembic/ ./alembic/
Expand Down
Loading

0 comments on commit 78d1c68

Please sign in to comment.