45 lines
786 B
YAML
45 lines
786 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:
|
|
- push
|
|
- 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: 52507904dfaada892c05a61422dc5e147c1438419ed841d0f1e3e3ec2b193540
|
|
|
|
...
|