From cbbae00e0e09b41b6bfc0dcf9567630b978ac65f Mon Sep 17 00:00:00 2001 From: zoff99 Date: Fri, 29 Sep 2023 16:22:40 +0200 Subject: [PATCH] use own docker image for appimage --- .github/workflows/build-test-deploy.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test-deploy.yaml b/.github/workflows/build-test-deploy.yaml index 2b1492a853..ddeee0633d 100644 --- a/.github/workflows/build-test-deploy.yaml +++ b/.github/workflows/build-test-deploy.yaml @@ -51,6 +51,15 @@ jobs: name: "Build docker image" with: docker_image_name: ubuntu_lts + build-ubuntu-for-appimage-docker: + name: Build ubuntu for AppImage docker image + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/build-docker-image + name: "Build docker image" + with: + docker_image_name: ubuntu_for_appimage build-debian-docker: name: Build debian docker image runs-on: ubuntu-22.04 @@ -162,10 +171,10 @@ jobs: build-appimage: name: Appimage runs-on: ubuntu-22.04 - needs: [build-ubuntu-lts-docker, update-nightly-tag] + needs: [build-ubuntu-for-appimage-docker, update-nightly-tag] if: | always() && - needs.build-ubuntu-lts-docker.result == 'success' && + needs.build-ubuntu-for-appimage-docker.result == 'success' && (needs.update-nightly-tag.result == 'success' || needs.update-nightly-tag.result == 'skipped') permissions: @@ -175,7 +184,7 @@ jobs: - uses: ./.github/actions/load-docker-image name: Load docker image with: - docker_image_name: ubuntu_lts + docker_image_name: ubuntu_for_appimage - name: Run build run: docker-compose run --rm ubuntu_lts ./appimage/build.sh --src-dir /qtox - name: Upload appimage