chore: update workflows for porting to forgejo
This commit is contained in:
parent
ef8bd194fd
commit
a009286418
1 changed files with 172 additions and 172 deletions
26
.github/workflows/assets.yaml
vendored
26
.github/workflows/assets.yaml
vendored
|
@ -15,7 +15,7 @@ concurrency:
|
||||||
group: ${{ github.actor }}-build
|
group: ${{ github.actor }}-build
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TALOS_VERSION : "${{ inputs.version || 'latest' }}"
|
TALOS_VERSION: "${{ inputs.version || 'latest' }}"
|
||||||
# renovate: depName=ghcr.io/siderolabs/intel-ucode
|
# renovate: depName=ghcr.io/siderolabs/intel-ucode
|
||||||
INTEL_UCODE_VERSION: 20231114
|
INTEL_UCODE_VERSION: 20231114
|
||||||
# renovate: depName=ghcr.io/siderolabs/i915-ucode
|
# renovate: depName=ghcr.io/siderolabs/i915-ucode
|
||||||
|
@ -24,7 +24,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
check-releases:
|
check-releases:
|
||||||
name: Check for new releases
|
name: Check for new releases
|
||||||
runs-on: ubuntu-latest
|
runs-on: ci-os
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -65,7 +65,7 @@ jobs:
|
||||||
needs: [ check-releases ]
|
needs: [ check-releases ]
|
||||||
if: needs.check-releases.outputs.newTalosReleaseFound || github.event_name == 'workflow_dispatch'
|
if: needs.check-releases.outputs.newTalosReleaseFound || github.event_name == 'workflow_dispatch'
|
||||||
name: Build kernel image
|
name: Build kernel image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ci-os
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Get pkgs release tag
|
- name: Get pkgs release tag
|
||||||
|
@ -131,7 +131,7 @@ jobs:
|
||||||
needs: [ check-releases, build-kernel ]
|
needs: [ check-releases, build-kernel ]
|
||||||
if: needs.check-releases.outputs.newTalosReleaseFound || github.event_name == 'workflow_dispatch'
|
if: needs.check-releases.outputs.newTalosReleaseFound || github.event_name == 'workflow_dispatch'
|
||||||
name: Build installer image
|
name: Build installer image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ci-os
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -185,7 +185,7 @@ jobs:
|
||||||
needs: [ check-releases, build-installer ]
|
needs: [ check-releases, build-installer ]
|
||||||
if: needs.check-releases.outputs.newTalosReleaseFound || github.event_name == 'workflow_dispatch'
|
if: needs.check-releases.outputs.newTalosReleaseFound || github.event_name == 'workflow_dispatch'
|
||||||
name: Build boot assets
|
name: Build boot assets
|
||||||
runs-on: ubuntu-latest
|
runs-on: ci-os
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
@ -216,7 +216,7 @@ jobs:
|
||||||
push-installer-image:
|
push-installer-image:
|
||||||
needs: [ check-releases, build-boot-assets ]
|
needs: [ check-releases, build-boot-assets ]
|
||||||
name: Push installer image
|
name: Push installer image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ci-os
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
@ -248,13 +248,13 @@ jobs:
|
||||||
crane push \
|
crane push \
|
||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
/tmp/talos-build-assets/installer-amd64.tar \
|
/tmp/talos-build-assets/installer-amd64.tar \
|
||||||
ghcr.io/${{ github.actor }}/installer:${{ needs.check-releases.outputs.talosReleaseTag }}
|
code.252.no/${{ github.actor }}/talos/apple-x86-installer:${{ needs.check-releases.outputs.talosReleaseTag }}
|
||||||
|
|
||||||
create-release:
|
create-release:
|
||||||
needs: [ check-releases, push-installer-image ]
|
needs: [ check-releases, push-installer-image ]
|
||||||
if: needs.check-releases.outputs.newTalosReleaseFound
|
if: needs.check-releases.outputs.newTalosReleaseFound
|
||||||
name: Create a new release
|
name: Create a new release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ci-os
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
@ -267,8 +267,8 @@ jobs:
|
||||||
curl -sL https://api.github.com/repos/siderolabs/talos/releases/tags/${{ needs.check-releases.outputs.talosReleaseTag }} | jq -r ".body" >> $GITHUB_OUTPUT
|
curl -sL https://api.github.com/repos/siderolabs/talos/releases/tags/${{ needs.check-releases.outputs.talosReleaseTag }} | jq -r ".body" >> $GITHUB_OUTPUT
|
||||||
echo EOF >> $GITHUB_OUTPUT
|
echo EOF >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Create a new release
|
# - name: Create a new release
|
||||||
uses: softprops/action-gh-release@v1
|
# uses: softprops/action-gh-release@v1
|
||||||
with:
|
# with:
|
||||||
tag_name: ${{ needs.check-releases.outputs.talosReleaseTag }}
|
# tag_name: ${{ needs.check-releases.outputs.talosReleaseTag }}
|
||||||
body: ${{ steps.talos-release-body.outputs.talos_release_body }}
|
# body: ${{ steps.talos-release-body.outputs.talos_release_body }}
|
||||||
|
|
Loading…
Reference in a new issue