This commit is contained in:
parent
9571733bbe
commit
f8f56336a9
@ -1,8 +0,0 @@
|
|||||||
name: Build image
|
|
||||||
run-name: ${{ github.actor }} 构建镜像
|
|
||||||
on: [push]
|
|
||||||
jobs:
|
|
||||||
Explore-Gitea-Actions:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: docker build -t ${{ DOCKER_REGISTRY }}/${{ IMAGE_NAME }}:latest .
|
|
7
.gitea/workflows/build-push.yml
Normal file
7
.gitea/workflows/build-push.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
name: Build image
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: ls
|
@ -1,13 +0,0 @@
|
|||||||
name: push image
|
|
||||||
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
|
|
||||||
on:
|
|
||||||
workflow_run:
|
|
||||||
workflows: [Build image]
|
|
||||||
types: [completed]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
on-success:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
||||||
steps:
|
|
||||||
- run: echo 'The triggering workflow passed'
|
|
Loading…
Reference in New Issue
Block a user