Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
60dc6b5e85 | |||
2b80a5d097 | |||
c67125bf2a | |||
ae3e517fec | |||
5738f9f327 | |||
f1613a9de8 | |||
461351567e | |||
fb2fc5111e | |||
b2136c96b7 | |||
e45b4b21e8 | |||
6de8225ea3 | |||
e19dc2794b | |||
03863e5df1 | |||
bd86c45e89 | |||
78e20cd879 | |||
53210d7d43 | |||
a2e82b5a21 | |||
631f11007c |
@@ -2,24 +2,14 @@ name: Gitea Actions Demo
|
|||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
OBS-Service-Actions-Test:
|
hello_world_job:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
name: opensuse container checkout test
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
- name: Hello world action step
|
||||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by opensuse!"
|
uses: https://src.opensuse.org/alexlau/gitea-actions-test@v4
|
||||||
- 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
|
|
||||||
id: hello
|
|
||||||
uses: actions/hello-docker-action@v2
|
|
||||||
with:
|
with:
|
||||||
who-to-greety: 'AvengerMoJo'
|
who-to-greet: 'AvengerMoJo'
|
||||||
|
id: hello
|
||||||
- name: Get the output time
|
- name: Get the output time
|
||||||
run: echo "The time was ${{ steps.hello.outputs.time }}"
|
run: echo "The time was ${{ steps.hello.outputs.time }}"
|
||||||
|
@@ -1,5 +1,10 @@
|
|||||||
FROM opensuse/tumbleweed:latest
|
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
|
COPY hello.sh /hello.sh
|
||||||
|
RUN chmod +x /hello.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/hello.sh"]
|
ENTRYPOINT ["/hello.sh"]
|
||||||
|
Reference in New Issue
Block a user