diff --git a/.gitea/workflows/built-bin.yaml b/.gitea/workflows/built-bin.yaml index df8e7aa..ef9442d 100644 --- a/.gitea/workflows/built-bin.yaml +++ b/.gitea/workflows/built-bin.yaml @@ -4,6 +4,11 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-latest + + env: + REGISTRY: git.ivanli.cc + IMAGE_NAME: ${{ github.repository }} + steps: - name: Check out repository code uses: actions/checkout@v3 @@ -39,36 +44,6 @@ jobs: - name: Build run: cargo build --release - - name: Archive Executable Binary - uses: https://github.com/actions/upload-artifact@v3 - with: - path: ./target/release/network-monitor - name: ${{ runner.os }}-release-${{ steps.tag.outputs.tag }} - - docker: - runs-on: ubuntu-latest - container: - image: catthehacker/ubuntu:act-latest - needs: build - - env: - REGISTRY: git.ivanli.cc - IMAGE_NAME: ${{ github.repository }} - - steps: - - name: Check out repository code - uses: actions/checkout@v3 - - - name: Get Commit Tag - id: tag - uses: https://github.com/Maxyme/get-release-or-tag@v2 - - - name: Download Executable Binary - uses: https://github.com/actions/download-artifact@v3 - with: - path: ./target/release/network-monitor - name: ${{ runner.os }}-release-${{ steps.tag.outputs.tag }} - - name: Log in to the Container registry uses: https://github.com/docker/login-action@v2 with: