Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/build-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,13 @@ jobs:
VAR=`docker manifest push ${{ env.REGISTRY }}/${{ github.repository }}/urunc-deploy:${{ env.TAG }} | tail -1`
echo "manifest_sha=$VAR" >> "$GITHUB_OUTPUT"

# Also tag with commit hash on main branch
if [[ "${{ github.ref }}" == "refs/heads/main" && "${{ inputs.version-tag }}" != "true" ]]; then
docker buildx imagetools create -t ${{ env.REGISTRY }}/${{ github.repository }}/urunc-deploy:${{ env.SHA_SHORT }} \
${{ env.REGISTRY }}/${{ github.repository }}/urunc-deploy:${{ env.TAG }}
fi


- name: Install cosign
uses: sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # main

Expand All @@ -223,4 +230,4 @@ jobs:
-a "repo=${{github.repository}}" \
-a "workflow=${{github.workflow}}" \
-a "ref=${{github.sha}}" \
-a "author=Nubificus LTD"
-a "author=Nubificus LTD"
7 changes: 7 additions & 0 deletions docs/tutorials/How-to-urunc-on-k8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ kubectl get pods
and artifacts required to run `urunc`, as well as reference DaemonSets, which can
be utilized to install `urunc` runtime on a running Kubernetes cluster.

By default, the `latest` tag is used, which corresponds to the main branch. To deploy a specific version, replace `latest` with the respective commit hash (e.g., `abc1234`) in the manifest using:

```bash
sed -i 's|ghcr.io/urunc-dev/urunc/urunc-deploy:latest|ghcr.io/urunc-dev/urunc/urunc-deploy:abc1234|' deployment/urunc-deploy/urunc-deploy/base/urunc-deploy.yaml
```


### urunc-deploy in k3s

To install in a k3s cluster, first we need to create the RBAC:
Expand Down
Loading