kind: pipeline name: build-and-test steps: - name: test image: rust:1.80 commands: - apt-get update - apt-get install -y cmake - rustup component add rustfmt - cargo build --verbose --all - cargo test --verbose --all - name: docker image: plugins/docker when: ref: - refs/tags/v* - refs/heads/master settings: auto_tag: true username: from_secret: docker_username password: from_secret: docker_password repo: ghcr.io/projectmoon/chronicle-dicebot registry: ghcr.io