2023-08-05 12:37:39 +00:00
|
|
|
name: Image builder
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: [released]
|
|
|
|
push:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-08-05 18:55:45 +00:00
|
|
|
container:
|
2023-08-05 20:04:28 +00:00
|
|
|
image: git.halis.io/athens-school/runner-images:debian12.1-node18
|
2023-08-05 18:55:45 +00:00
|
|
|
runs-on: [arm64]
|
2023-08-05 12:37:39 +00:00
|
|
|
|
|
|
|
steps:
|
2023-08-05 20:04:28 +00:00
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
2023-08-07 09:11:40 +00:00
|
|
|
- name: Login to register
|
|
|
|
uses: https://gitea.com/docker/login-action@v2
|
|
|
|
with:
|
|
|
|
registry: https://git.halis.io
|
|
|
|
username: ${{ github.actor }}
|
|
|
|
password: ${{ secrets.CONTAINER_TOKEN }}
|
2023-08-07 09:23:20 +00:00
|
|
|
- name: Start shell build
|
|
|
|
run: ./build.sh
|