21 lines
562 B
YAML
21 lines
562 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 ${OSX_VERSION}
|
|
packer build -var macos_version=${OSX_VERSION} .
|
|
tart push ${OSX_VERSION}base gitea.hnatekmar.xyz/osx:${OSX_VERSION}latest chunksize 8
|
|
tart prune --space-budget 30 |