Compare commits

...

5 Commits

Author SHA1 Message Date
dobiadi
dd878a6224 Fix workflow name
All checks were successful
build-and-push / docker (push) Successful in 3m27s
2024-10-24 12:28:39 +02:00
dobiadi
7721000281 Change text
All checks were successful
build-and-pudh / docker (push) Successful in 3m33s
2024-10-24 01:51:22 +02:00
dobiadi
c76bf79b9d Temporary disable arm64 builds
All checks were successful
build-and-pudh / docker (push) Successful in 3m40s
2024-10-24 00:51:16 +02:00
dobiadi
aca5aa6751 Fix docker build
Some checks failed
build-and-pudh / docker (push) Has been cancelled
2024-10-23 23:04:31 +02:00
dobiadi
5bfaae66f3 Remove demo action 2024-10-23 22:57:55 +02:00
4 changed files with 6 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
name: build-and-pudh
name: build-and-push
on:
push:
@@ -26,7 +26,7 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
registry: ${{ steps.registry.outputs.registry }}
@@ -35,6 +35,6 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}

View File

@@ -1,19 +0,0 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."

View File

@@ -1,9 +1,10 @@
ARG ALPINE_VERSION=latest
FROM alpine:$ALPINE_VERSION AS builder
ARG RUST_VERSION=stable
COPY Cargo.lock /usr/src/
COPY Cargo.toml /usr/src/
COPY src/ /usr/src/src/
WORKDIR /usr/src

View File

@@ -11,7 +11,7 @@ pub struct Config {
pub async fn run(config: Config, token: CancellationToken) -> Result<(), io::Error> {
let app = Router::new()
.route("/", routing::get(|| async { "Hello world!" }))
.route("/", routing::get(|| async { "Hello kube world!" }))
.layer((
TraceLayer::new_for_http(),
TimeoutLayer::new(Duration::from_secs(10)),