Skip to content

Commit

Permalink
TEST: Trigger building and pushing to ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
julianschuler committed Jun 20, 2024
1 parent 04ef22c commit ec2e97b
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: CI/CD
on: push
env:
version: 7.5.0
jobs:
cicd:
name: CI/CD
Expand Down Expand Up @@ -28,18 +30,14 @@ jobs:
run: kas build --target nao-image --cmd populate_sdk meta-nao/kas/base.yml:meta-nao/kas/hulks.yml:meta-nao/kas/aarch64.yml
- name: Upload artifacts
uses: actions/upload-artifact@v4
if: startsWith(github.ref, 'refs/tags/')
with:
name: all
path: |
build/tmp/deploy/images/nao-v6/nao-image-HULKs-OS-${{ github.ref_name }}.ext3.gz.opn
build/tmp/deploy/sdk/HULKs-OS-x86_64-toolchain-${{ github.ref_name }}.sh
build/tmp/deploy/sdk/HULKs-OS-aarch64-toolchain-${{ github.ref_name }}.sh
build/tmp/deploy/images/nao-v6/nao-image-HULKs-OS-${{ env.version }}.ext3.gz.opn
build/tmp/deploy/sdk/HULKs-OS-x86_64-toolchain-${{ env.version }}.sh
build/tmp/deploy/sdk/HULKs-OS-aarch64-toolchain-${{ env.version }}.sh
devimage:
name: Release
if: startsWith(github.ref, 'refs/tags/')
env:
version: ${{ github.ref_name }}
needs: cicd
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -72,12 +70,3 @@ jobs:
registry: ghcr.io/hulks
username: ${{ github.actor }}
password: ${{ github.token }}
- uses: softprops/action-gh-release@v2
with:
name: HULKs-OS ${{ github.ref_name }}
body: Flashable image containing HULKs-OS ${{ github.ref_name }} and the corresponding SDK with the toolchain and other tools targeting HULKs-OS, for instructions see https://hulks.de/hulk/setup/overview/
files: |
images/nao-v6/nao-image-HULKs-OS-${{ github.ref_name }}.ext3.gz.opn
sdk/HULKs-OS-x86_64-toolchain-${{ github.ref_name }}.sh
sdk/HULKs-OS-aarch64-toolchain-${{ github.ref_name }}.sh
fail_on_unmatched_files: true

0 comments on commit ec2e97b

Please sign in to comment.