Compare commits

..

3 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
2 changed files with 4 additions and 4 deletions

View File

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

View File

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