diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..415e2d0 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -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 }}." diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8069070 --- /dev/null +++ b/.gitignore @@ -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/ + diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3860e83 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM docker.io/library/python:3.8.9 +WORKDIR /home +COPY README.md /home \ No newline at end of file diff --git a/README.md b/README.md index e6d4277..4a3b2c6 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -# Test Gitea Actions +# Gitea Action Demo + +ζ΅‹θ―• gitea actions。 \ No newline at end of file