Compare commits

...
3 Commits
Author SHA1 Message Date
brb 182a2f70b6 added docker build command
pipeline / demo (push) Successful in 6s
pipeline / Test (push) Successful in 38s
pipeline / Deploy (push) Successful in 3s
2023-07-11 15:37:35 +02:00
brb a81e2a89c9 added demo job
pipeline / demo (push) Successful in 6s
pipeline / Test (push) Successful in 38s
pipeline / Deploy (push) Has been skipped
2023-07-11 15:33:24 +02:00
brb 2041d42e76 changed indentation
pipeline / Deploy (push) Has been skipped
pipeline / Test (push) Successful in 39s
2023-07-11 15:30:01 +02:00
+18 -1
View File
@@ -1,8 +1,23 @@
name: pipeline
run-name: ${{ gitea.actor }} is running script
runs-on: ubuntu-latest
on: [push]
image: python:3.10
jobs:
demo:
runs-on: ubuntu-latest
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
uses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.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 ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
test:
name: Test
runs-on: ubuntu-latest
@@ -36,5 +51,7 @@ jobs:
# docker build . --file Dockerfile --tag ${{}}
echo "test message"
echo "below follows gitea.actor:"
echo "${{ gitea.actor }}"
echo "${{ gitea.repository }}"
docker build . --file Dockerfile --tag ${{ gitea.repository }}
echo docker images