gitea action
Explore-Gitea-Actions Details

This commit is contained in:
Mr-lixh 2023-03-27 11:37:10 +08:00
parent 093170bfdb
commit d93de1b63b
4 changed files with 52 additions and 1 deletions

View File

@ -0,0 +1,27 @@
name: Gitea Actions Demo
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-18.04
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Build and push
uses: docker/build-push-action@v4
with:
push: false
tags: artifacts.iflytek.com/docker-private/ai_devops/xhli18/gitea_actions:latest
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."

19
.gitignore vendored Normal file
View File

@ -0,0 +1,19 @@
### Go template
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
.idea/
# Dependency directories (remove the comment below to include it)
# vendor/

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM docker.io/library/python:3.8.9
WORKDIR /home
COPY README.md /home

View File

@ -1 +1,3 @@
# Test Gitea Actions
# Gitea Action Demo
测试 gitea actions。