-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Add config for deploying motis-proxy
- Loading branch information
1 parent
f786835
commit 5ef669e
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# SPDX-FileCopyrightText: 2024 Jonah Brüchert <[email protected]> | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
when: | ||
- event: tag | ||
|
||
steps: | ||
build-release-amd64: | ||
image: docker.io/rust:alpine | ||
commands: | ||
- apk add musl-dev | ||
- cd motis-proxy && cargo build --release | ||
|
||
upload: | ||
image: docker.io/woodpeckerci/plugin-github-release | ||
settings: | ||
files: | ||
- motis-proxy/target/release/motis-proxy | ||
title: ${CI_COMMIT_TAG##v} | ||
api-key: | ||
from_secret: github_release_token |