Skip to content

Forgot to expose the manifest for the Kobra 3 V2 #103

Forgot to expose the manifest for the Kobra 3 V2

Forgot to expose the manifest for the Kobra 3 V2 #103

Workflow file for this run

name: Auto release on tag
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and export
uses: docker/build-push-action@v6
with:
push: false
context: .
build-args: version=${{ github.ref_name }}
outputs: type=local,dest=./build/dist
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/rinkhals:buildcache
cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/rinkhals:buildcache,mode=max
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${GITHUB_REPOSITORY#*/} ${tag}" \
--generate-notes \
--draft \
build/dist/*.swu \
build/dist/*.zip