4 Commits

Author SHA1 Message Date
fd266ae24b Added README
Some checks failed
Build and deploy / Build container and manifests (push) Failing after 5m22s
2025-04-17 13:32:49 +02:00
e2475f15b8 Removed test file 2025-04-17 13:32:13 +02:00
184091c188 Changed name to Siranga 2025-04-17 13:31:33 +02:00
68df9af0da Only push on tags
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m39s
2025-04-17 12:36:12 +02:00
4 changed files with 6 additions and 4 deletions

View File

@@ -71,10 +71,12 @@ jobs:
SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }} SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }}
- name: Kustomize manifests - name: Kustomize manifests
if: gitea.ref_type == 'tag'
run: | run: |
./kustomize build ./manifests | sed "s/\${DIGEST}/${{ steps.build.outputs.digest }}/" > ./manifests.yaml ./kustomize build ./manifests | sed "s/\${DIGEST}/${{ steps.build.outputs.digest }}/" > ./manifests.yaml
- name: Push manifests - name: Push manifests
if: gitea.ref_type == 'tag'
run: | run: |
flux push artifact oci://$OCI_REPO/manifests:latest \ flux push artifact oci://$OCI_REPO/manifests:latest \
--path="./manifests.yaml" \ --path="./manifests.yaml" \

View File

@@ -18,5 +18,5 @@ ENV RUSTC_BOOTSTRAP=1
RUN cargo auditable build --release RUN cargo auditable build --release
FROM gcr.io/distroless/cc-debian12:nonroot AS runtime FROM gcr.io/distroless/cc-debian12:nonroot AS runtime
COPY --from=builder /app/target/release/siranga /siranga COPY --from=builder /app/target/release/tunnel_rs /tunnel_rs
CMD ["/siranga"] CMD ["/tunnel_rs"]

View File

@@ -40,7 +40,7 @@ By appending `-- --help` you can view the available command line options.
### Tip ### Tip
To make connecting slightly easier I recommend adding the following to `~/.ssh/config`: To make connecting slightly easier I recommend adding the following to `~/.ssh/config`.
``` ```
Host tunnel Host tunnel

View File

@@ -4,7 +4,7 @@ namespace: siranga
resources: resources:
- ./namespace.yaml - ./namespace.yaml
- ./service-user.yaml - ./service-user.yaml
- ./secret-siranga-key.yaml - ./secret-tunnel-key.yaml
- ./deployment.yaml - ./deployment.yaml
- ./service.yaml - ./service.yaml
- ./certificate.yaml - ./certificate.yaml