-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: updating build scripts, readme, python dependencies
- Loading branch information
Showing
6 changed files
with
74 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ jobs: | |
permissions: | ||
contents: read | ||
packages: write | ||
id-token: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -51,10 +50,8 @@ jobs: | |
# this is an example of building a single arch image on a specific arch. | ||
# this will work well with AWS Lambda. | ||
# | ||
# - name: Configure docker for multiarch builds | ||
# - name: Configure Docker for multi-arch builds# | ||
# uses: docker/setup-qemu-action@v3 | ||
# with: | ||
# platforms: "arm64" | ||
# | ||
# - name: Build and push container image | ||
# run: | | ||
|
@@ -74,23 +71,33 @@ jobs: | |
# - name: Set up QEMU for docker multiarch builds | ||
# uses: docker/setup-qemu-action@v3 | ||
# | ||
# - name: Set up docker buildx | ||
# uses: docker/setup-buildx-action@v3 | ||
# | ||
# - name: Build and push container images | ||
# run: | | ||
# docker buildx build --push --platform $IMAGE_ARCH -t $IMAGE_NAME:${{ github.ref_name }} -t $IMAGE_NAME:latest . | ||
# env: | ||
# IMAGE_ARCH: linux/amd64,linux/arm64 | ||
# IMAGE_NAME: ghcr.io/myaccount/myrepo | ||
|
||
- name: Configure Docker for multi-arch builds | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Log in to the GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build, tag, and push docker image to the GitHub Container Registry | ||
run: make push | ||
|
||
- name: Install poetry | ||
run: pipx install poetry | ||
|
||
- name: Setup python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12.x" | ||
python-version: "3.13.x" | ||
cache: "poetry" | ||
|
||
- name: Run python build | ||
|
@@ -101,7 +108,9 @@ jobs: | |
- name: Update release | ||
uses: softprops/[email protected] | ||
with: | ||
files: "dist/*" | ||
files: | | ||
dist/* | ||
CHANGELOG.md | ||
tag_name: "${{ github.ref_name }}" | ||
|
||
- run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,10 +52,10 @@ jobs: | |
|
||
- id: cz | ||
name: Create changelog and bump version | ||
uses: commitizen-tools/[email protected].0 | ||
uses: commitizen-tools/[email protected].1 | ||
with: | ||
changelog: true | ||
changelog_increment_filename: "changes.md" | ||
changelog_increment_filename: "CHANGELOG.md" | ||
git_redirect_stderr: true | ||
increment: ${{ inputs.increment }} | ||
prerelease: ${{ inputs.prerelease }} | ||
|
@@ -68,7 +68,7 @@ jobs: | |
- name: Create release | ||
uses: softprops/[email protected] | ||
with: | ||
body_path: "changes.md" | ||
body_path: "CHANGELOG.md" | ||
tag_name: "v${{ steps.cz.outputs.version }}" | ||
|
||
- run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.