pipeline: build: image: python:latest when: event: tag branch: [main, master] commands: - python --version - pip install -U virtualenv --quiet - virtualenv venv - source venv/bin/activate - pip install -U build --quiet - build