From 426d9c32de43b9b492a9f43f9736b4ea64472085 Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 25 Jul 2024 14:36:17 -0400 Subject: [PATCH] Test build and push workflow action --- .gitea/workflows/build.yml | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4fac7004..aceecbfa 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -27,29 +27,15 @@ jobs: username: ${{ gitea.repository_owner }} password: ${{ secrets.REGISTRY_TOKEN }} - - name: Prepare build environment - run: docker buildx build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux . - - - name: Build - run: | - docker run --rm --name build-container -v ${{ github.workspace }}:/workspace/monero-gui \ - -w /workspace/monero-gui monero:build-env-linux sh -c ' - echo "Listing directory contents inside Docker:"; - ls -la; - echo "Content of Makefile:"; - cat Makefile; - make release-static -j3 - ' + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: . + push: true + tags: bill/monero:test - name: sha256sum run: shasum -a256 /workspace/Bill/monero-gui/build/release/bin/monero-wallet-gui - name: test qml - run: xvfb-run -a /workspace/Bill/monero-gui/build/release/bin/monero-wallet-gui --test-qml - - - uses: actions/upload-artifact@v4 - with: - name: ${{ gitea.job }} - path: | - /home/runner/work/monero-gui/monero-gui/build/release/bin/monero-wallet-gui - /home/runner/work/monero-gui/monero-gui/build/release/bin/monerod \ No newline at end of file + run: xvfb-run -a /workspace/Bill/monero-gui/build/release/bin/monero-wallet-gui --test-qml \ No newline at end of file