44 lines
771 B
YAML
44 lines
771 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: build
|
|
image: clux/muslrust:1.89.0-stable
|
|
commands:
|
|
- cargo build --release --target x86_64-unknown-linux-musl
|
|
when:
|
|
branch:
|
|
- master
|
|
event:
|
|
- pull_request
|
|
|
|
- name: image
|
|
image: plugins/docker
|
|
settings:
|
|
registry: git.itzana.me
|
|
repo: git.itzana.me/strafesnet/asset-tool
|
|
tags:
|
|
- latest
|
|
username:
|
|
from_secret: GIT_USER
|
|
password:
|
|
from_secret: GIT_PASS
|
|
dockerfile: Containerfile
|
|
depends_on:
|
|
- build
|
|
when:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|
|
---
|
|
kind: signature
|
|
hmac: 2ea2c509e3a97dde06bbb7e5ee8337af2cae5b91b4153d6f8666da832b99bb8f
|
|
|
|
...
|