From 42106cf0f6c338dba3ba281f2a67032bda70e8a3 Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 28 Jul 2024 06:48:02 +0000 Subject: [PATCH] Update .gitea/workflows/osx_build.yaml --- .gitea/workflows/osx_build.yaml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/osx_build.yaml b/.gitea/workflows/osx_build.yaml index 9fb6f2a..66390d4 100644 --- a/.gitea/workflows/osx_build.yaml +++ b/.gitea/workflows/osx_build.yaml @@ -3,17 +3,15 @@ run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 on: [push] jobs: - Explore-Gitea-Actions: + build_image: runs-on: osx steps: - - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: Check out repository code + - name: Checkout uses: actions/checkout@v4 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file + - run: | + export + cd ${{ github.repository }}/osx + packer init . + packer build var macos_version=${OSX_VERSION} . + tart push ${OSX_VERSION}base gitea.hnatekmar.xyz/osx:${OSX_VERSION}latest chunksize 8 + tart prune spacebudget 25 \ No newline at end of file