3 Commits

Author SHA1 Message Date
ba3f891122 Added README
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m32s
2025-04-17 13:58:52 +02:00
56fdcdf465 Removed test file 2025-04-17 13:58:52 +02:00
ff19d6b23b Changed name to siranga 2025-04-17 13:58:52 +02:00
4 changed files with 4 additions and 6 deletions

View File

@@ -71,12 +71,10 @@ 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/tunnel_rs /tunnel_rs COPY --from=builder /app/target/release/siranga /siranga
CMD ["/tunnel_rs"] CMD ["/siranga"]

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-tunnel-key.yaml - ./secret-siranga-key.yaml
- ./deployment.yaml - ./deployment.yaml
- ./service.yaml - ./service.yaml
- ./certificate.yaml - ./certificate.yaml