Compare commits
No commits in common. "c62a2d3cb8d3876288146de0d37d322401b8b82f" and "317e708c1cf3e0b6fe90dc4f8d8e164bd05f46d6" have entirely different histories.
c62a2d3cb8
...
317e708c1c
@ -1,20 +1,19 @@
|
|||||||
name: Gitea Actions Demo
|
name: Gitea Actions Demo
|
||||||
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
Explore-Gitea-Actions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
- name: Build docker image
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
uses: https://code.thetadev.de/ThetaDev/action-kaniko@v1
|
- name: List files in the repository
|
||||||
with:
|
run: |
|
||||||
registry: "10.42.1.152:3000"
|
ls ${{ gitea.workspace }}
|
||||||
image: "test/test"
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
username: admin
|
|
||||||
password: 87a34c3be07db91e9a60b3f2805ff66076bd08e3
|
|
||||||
platforms: "linux/arm64"
|
|
||||||
extra_args: "--insecure"
|
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +0,0 @@
|
|||||||
FROM python:3.9-slim
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
COPY . /app
|
|
||||||
|
|
||||||
CMD ["python", "app.py"]
|
|
||||||
Loading…
x
Reference in New Issue
Block a user