Skip to content

Test bundle generation #5

Test bundle generation

Test bundle generation #5

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
# branches:
# - release/v0.12
permissions:
contents: read
id-token: 'write'
jobs:
deploy:
name: Build everything
runs-on: ubuntu-latest
environment:
name: release
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get version
id: version
run: echo VERSION=sha-$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT
- name: Extract metadata for container
id: meta
uses: docker/metadata-action@v4
with:
images: accounts-svc
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha
- name: Build packages
run: make packages
# - name: Build container
# run: make container
# - name: Publish release distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
- name: Create deploy bundle
run: templates/generate-all deploy.zip v${{ steps.version.outputs.VERSION }}