fix the typo actions
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
This commit is contained in:
parent
a6d40133be
commit
631f11007c
@ -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: A job to say hello
|
||||
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: actions/hello-world-docker-action@v2
|
||||
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 }}"
|
||||
run: echo "The time was ${{ steps.hello.outputs.time }}"kkk
|
||||
|
@ -1,5 +1,10 @@
|
||||
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"]
|
||||
# ENTRYPOINT ["/hello.sh"]
|
||||
CMD ["/bin/bash"]
|
||||
|
Loading…
Reference in New Issue
Block a user