From 1eb43708c352f266a043560d8b7dff45acd68c98 Mon Sep 17 00:00:00 2001 From: thomas Date: Sun, 22 Sep 2024 13:37:29 +0200 Subject: [PATCH] Update .gitea/workflows/gitea.yaml --- .gitea/workflows/gitea.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/gitea.yaml b/.gitea/workflows/gitea.yaml index 8048054..01a9377 100644 --- a/.gitea/workflows/gitea.yaml +++ b/.gitea/workflows/gitea.yaml @@ -7,9 +7,8 @@ jobs: name: build runs-on: node 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: Initialization + run: mkdir /app && cd /app - name: Check out repository code uses: actions/checkout@v4 - name: Download dependencies @@ -20,12 +19,24 @@ jobs: run: | echo "Building application." npm run build --cache .npm --prefer-offline + - Name: Upload application artifact + - uses: actions/upload-artifact@master + with: + name: application + path: /app dockerize: name: dockerize runs-on: host container: image: catthehacker/ubuntu:act-latest steps: + - name: Download application artifact + - uses: actions/download-artifact@master + with: + name: application + path: /app + - name: Test + run: cd app && ls -la && ls -la / - name: Set up QEMU uses: docker/setup-qemu-action@v3