6 Commits
v1 ... v2

Author SHA1 Message Date
03863e5df1 change a newm
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-09-21 14:52:59 +08:00
bd86c45e89 fix the typo actions
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-09-21 14:43:26 +08:00
78e20cd879 run hello
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-09-21 14:37:57 +08:00
53210d7d43 Update the action name
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-09-21 14:32:40 +08:00
a2e82b5a21 Update the action name
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-09-21 14:29:45 +08:00
631f11007c fix the typo actions
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-09-21 14:25:40 +08:00
2 changed files with 10 additions and 15 deletions

View File

@@ -2,24 +2,15 @@ name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
OBS-Service-Actions-Test:
hello_world_job:
runs-on: ubuntu-latest
name: opensuse container checkout test
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 opensuse!"
- 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 }}."
- name: Hello action steps
- name: Hello world action step
id: hello
uses: actions/hello-docker-action@v2
uses: https://src.opensuse.org/alexlau/gitea-actions-test/@v1
with:
who-to-greety: 'AvengerMoJo'
who-to-greet: 'AvengerMoJo'
# Use the output from the `hello` step
- name: Get the output time
run: echo "The time was ${{ steps.hello.outputs.time }}"

View File

@@ -1,5 +1,9 @@
FROM opensuse/tumbleweed:latest
RUN zypper --non-interactive update
RUN zypper --non-interactive install osc
RUN zypper --non-interactive clean --all
COPY hello.sh /hello.sh
ENTRYPOINT ["/hello.sh"]