Skip to content
Merged
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
8 changes: 6 additions & 2 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,11 @@ jobs:
tags: |
type=raw,value=testing
type=sha,prefix={{branch}}-


- name: Set short SHA
id: short-sha
run: echo "value=${GITHUB_SHA::7}" >> "$GITHUB_OUTPUT"

- name: Build and push
id: build
uses: docker/build-push-action@v5
Expand All @@ -222,7 +226,7 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: BUILD_VERSION=main-${{ github.sha && github.sha || 'dev' }}
build-args: BUILD_VERSION=${{ github.ref_name }}-${{ steps.short-sha.outputs.value }}
cache-from: type=gha
cache-to: type=gha,mode=max

Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ COPY ./static/ /app/static/
COPY ./templates/ /app/templates/
COPY ./app.py /app/
COPY ./cloud_images.json /app/
COPY ./lxc_profiles.json /app/
COPY ./entrypoint.sh /entrypoint.sh

# Create non-root user for security
Expand Down
2 changes: 1 addition & 1 deletion static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ a:hover { color: var(--accent); text-decoration: underline; }
.brand-mark img{ width:100%; height:100%; display:block; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; min-width:0; }
.brand-name{ font-weight:700; font-size:16px; color:#fff; letter-spacing:-.2px; }
.brand-ver{ font-size:11px; color:#7a8599; font-variant-numeric:tabular-nums; }
.brand-ver{ font-size:11px; color:#7a8599; font-variant-numeric:tabular-nums; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.app-nav-primary{ flex:1 1 auto; min-height:0; overflow-y:auto; padding:14px 12px; display:flex; flex-direction:column; gap:3px; list-style:none; margin:0; }
.nav-section-label{ font-size:10.5px; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
color:#5b6579; padding:16px 12px 7px; white-space:nowrap; }
Expand Down
Loading