on: push: tags: - 'v*' jobs: docker: name: docker build runs-on: ubuntu-22.04 steps: - uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME}} password: ${{ secrets.DOCKERHUB_TOKEN}} - uses: docker/build-push-action@v5 with: push: false tags: karcsesz/fingerlink:latest - uses: docker/build-push-action@v5 with: push: false tags: karcsesz/fingerlink:latest-nano build-args: "editor=nano" binary: name: raw artifact runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: actions/rust-toolchain@stable with: targets: "x86_64-unknown-linux-musl,aarch64-unknown-linux-musl" - run: apt-get update && apt-get install -y musl-tools - run: cargo build --release --target x86_64-unknown-linux-musl - run: mkdir _release && mv target/x86_64-unknown-linux-musl/release/fingerlink _release/fingerlink - uses: actions/forgejo-release@v1 with: direction: upload release-dir: _release