Compare commits
3
Commits
e2a530045d
...
2a18854894
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a18854894 | ||
|
|
c157c599ea | ||
|
|
810069d1fe |
@@ -97,12 +97,34 @@ jobs:
|
||||
&& echo "NetBird management connected." \
|
||||
|| { echo "::error title=NetBird not connected::Management not connected after netbird up."; exit 1; }
|
||||
|
||||
- name: Deploy to talos-prod
|
||||
- name: Deploy image to talos-prod
|
||||
uses: actions-hub/kubectl@v1.36.2
|
||||
env:
|
||||
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
||||
with:
|
||||
args: get pods
|
||||
args: >-
|
||||
-n blog-ahmza-com
|
||||
set image deployment/blog
|
||||
blog=${{ env.REGISTRY }}/${{ gitea.repository_owner }}/blog-ahmza-com:${{ gitea.event.head_commit.id }}
|
||||
|
||||
- name: Wait for rollout
|
||||
uses: actions-hub/kubectl@v1.36.2
|
||||
env:
|
||||
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
||||
with:
|
||||
args: >-
|
||||
-n blog-ahmza-com
|
||||
rollout status deployment/blog
|
||||
--timeout=5m
|
||||
|
||||
- name: Show deployed pods
|
||||
uses: actions-hub/kubectl@v1.36.2
|
||||
env:
|
||||
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
||||
with:
|
||||
args: >-
|
||||
-n blog-ahmza-com
|
||||
get pods -o wide
|
||||
|
||||
- name: NetBird diagnostics & disconnect
|
||||
# Runs even on failure: captures final state for debugging and tears the
|
||||
|
||||
+11
-1
@@ -5,7 +5,17 @@
|
||||
# on TARGETPLATFORM, so multi-arch (amd64 + arm64) runtime images are preserved.
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/hugomods/hugo:0.157.0 AS build
|
||||
WORKDIR /tmp/hugo
|
||||
COPY . .
|
||||
|
||||
COPY go.mod ./
|
||||
RUN hugo mod get
|
||||
|
||||
COPY archetypes ./archetypes
|
||||
COPY assets ./assets
|
||||
COPY content ./content
|
||||
COPY static ./static
|
||||
COPY themes ./themes
|
||||
COPY hugo.* ./
|
||||
|
||||
RUN hugo --gc --minify
|
||||
|
||||
FROM ghcr.io/static-web-server/static-web-server:2
|
||||
|
||||
Reference in New Issue
Block a user