Skip to content

feat: Add support for private pypi #208

feat: Add support for private pypi

feat: Add support for private pypi #208

Workflow file for this run

# This workflow is setup to run CI checks for aladdin
# At this time it only ensures the docker image is buildable
# In the future it could run linting, tests, etc
name: Pull Request
on:
pull_request:
branches:
- main
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- uses: actions/checkout@v4
# QEMU is needed to support multi-platform builds
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64, linux/arm64
- uses: werf/actions/install@v2
with:
version: v2.26.6
- name: werf build
run: |
. $(werf ci-env github --as-file)
werf cr login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ${{ env.REGISTRY }}
werf build --repo ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}