Update CD/CI
Build-Release / Build-Release (push) Failing after 17s

Test functionality
This commit is contained in:
2025-07-03 00:12:27 +00:00
parent e7602ab13b
commit af2c97a2af
+19 -12
View File
@@ -1,18 +1,25 @@
name: Gitea Actions Demo name: Build-Release
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push] on: [push]
jobs: jobs:
Explore-Gitea-Actions: Build-Release:
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."
- run: echo "🖥️ The workflow is now ready to test your code on the runner." - name: Setup docker build
- name: List files in the repository uses: docker/setup-buildx-action@v3
run: |
ls ${{ gitea.workspace }} - name: Build docker image
- run: echo "🍏 This job's status is ${{ job.status }}." run: docker build --build-arg BASE_URL=https://mistox.com -t myapp:${GITEA_REF_NAME} .
- name: Create Tarball of image
run: docker save myapp:${GITEA_REF_NAME} -o myapp:${GITEA_REF_NAME}.tar
- name: Upload Release Artifact
uses: https://gitea.com/actions/upload-release-asset@v1
with:
tag: ${{ gitea.ref_name }}
file: myapp-${{ gitea.ref_name }}.tar