21 lines
585 B
YAML
21 lines
585 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
build_image:
|
|
runs-on: osx
|
|
strategy:
|
|
matrix:
|
|
OSX_VERSION: [sonoma]
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- run: |
|
|
export
|
|
cd osx
|
|
packer init .
|
|
echo ${matrix.OSX_VERSION}
|
|
packer build -var macos_version=${matrix.OSX_VERSION} .
|
|
tart push ${matrix.OSX_VERSION}-base gitea.hnatekmar.xyz/osx:${matrix.OSX_VERSION} chunksize 8
|
|
tart prune --space-budget 30 |