Compare commits
3 Commits
aca5aa6751
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd878a6224 | ||
|
|
7721000281 | ||
|
|
c76bf79b9d |
@@ -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 }}
|
||||
|
||||
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user