2023-03-21 16:11:16 +08:00
|
|
|
name: Gitea Actions Demo
|
2023-03-21 16:13:14 +08:00
|
|
|
on: [push]
|
2023-03-21 16:11:16 +08:00
|
|
|
jobs:
|
2023-03-21 17:09:02 +08:00
|
|
|
Gitea-Actions:
|
|
|
|
runs-on: ubuntu-latest
|
2023-03-22 10:00:32 +08:00
|
|
|
container:
|
|
|
|
image: catthehacker/ubuntu:act-latest
|
2023-03-22 10:39:44 +08:00
|
|
|
|
2023-03-21 16:11:16 +08:00
|
|
|
steps:
|
2023-03-21 16:13:14 +08:00
|
|
|
|
2023-03-22 10:36:05 +08:00
|
|
|
- name: Get Meta
|
|
|
|
id: meta
|
2023-03-22 10:39:44 +08:00
|
|
|
run: echo ::set-output name=REGISTRY::`echo ${{ secrets.DOCKER_REGISTRY }}`
|
2023-03-22 10:36:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
- run: echo ${{ steps.meta.outputs.REGISTRY }}
|
2023-03-21 16:11:16 +08:00
|
|
|
|