Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 0 additions & 49 deletions .github/workflows/Main Cuda Docker Build.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/Main Docker Build.yml

This file was deleted.

89 changes: 46 additions & 43 deletions .github/workflows/Nightly Cuda Docker Build.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,47 @@
name: Nightly CUDA Docker Build

on:
pull_request:
types: [closed]
branches:
- nightly

jobs:
docker:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push CUDA nightly image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
file: ./Dockerfile-cuda128
tags: |
ghcr.io/rishikanthc/scriberr:nightly-cuda128

- name: Verify multi-platform image
run: |
name: Nightly CUDA Docker Build

on:
pull_request:
types: [closed]
branches:
- nightly

jobs:
docker:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push CUDA nightly image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
file: ./Dockerfile-cuda128
tags: |
ghcr.io/rishikanthc/scriberr:nightly-cuda128

- name: Verify multi-platform image
run: |
docker buildx imagetools inspect ghcr.io/rishikanthc/scriberr:nightly-cuda128
89 changes: 46 additions & 43 deletions .github/workflows/Nightly Docker Build.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,47 @@
name: Nightly Docker Build

on:
pull_request:
types: [closed]
branches:
- nightly

jobs:
docker:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push CPU nightly image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
file: ./Dockerfile
tags: |
ghcr.io/rishikanthc/scriberr:nightly

- name: Verify multi-platform image
run: |
name: Nightly Docker Build

on:
pull_request:
types: [closed]
branches:
- nightly

jobs:
docker:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push CPU nightly image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
file: ./Dockerfile
tags: |
ghcr.io/rishikanthc/scriberr:nightly

- name: Verify multi-platform image
run: |
docker buildx imagetools inspect ghcr.io/rishikanthc/scriberr:nightly
50 changes: 48 additions & 2 deletions .github/workflows/version-and-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create Release
name: Create Release and Build Docker Images

on:
pull_request:
Expand All @@ -12,6 +12,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write

steps:
- name: Checkout code
Expand All @@ -27,7 +28,7 @@ jobs:
- name: Determine new version
id: version
run: |
CURRENT_VERSION="0.3.0"
CURRENT_VERSION="0.4.1"
# Check commit messages to determine version increment
COMMITS=$(git log $(git describe --tags --abbrev=0 2>/dev/null || echo HEAD~10)..HEAD --pretty=format:"%s")

Expand Down Expand Up @@ -77,3 +78,48 @@ jobs:

Changes in this release:
${{ github.event.pull_request.title }} (#${{ github.event.pull_request.number }})

- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

# Build and push CPU Docker image
- name: Build and push CPU Docker image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
file: ./Dockerfile
tags: |
ghcr.io/rishikanthc/scriberr:${{ steps.version.outputs.new_version }}
ghcr.io/rishikanthc/scriberr:latest

# Build and push CUDA Docker image
- name: Build and push CUDA Docker image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
file: ./Dockerfile-cuda128
tags: |
ghcr.io/rishikanthc/scriberr:${{ steps.version.outputs.new_version }}-cuda128
ghcr.io/rishikanthc/scriberr:latest-cuda128

- name: Verify multi-platform images
run: |
docker buildx imagetools inspect ghcr.io/rishikanthc/scriberr:${{ steps.version.outputs.new_version }}
docker buildx imagetools inspect ghcr.io/rishikanthc/scriberr:latest
docker buildx imagetools inspect ghcr.io/rishikanthc/scriberr:${{ steps.version.outputs.new_version }}-cuda128
docker buildx imagetools inspect ghcr.io/rishikanthc/scriberr:latest-cuda128