Update .gitea/workflows/deploy.yaml
This commit is contained in:
@@ -14,21 +14,9 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install buildah
|
|
||||||
run: |
|
|
||||||
apt-get update && apt-get install -y buildah
|
|
||||||
mkdir -p /etc/containers
|
|
||||||
printf '[[registry]]\nlocation = "git.kimchi"\ninsecure = true\n' > /etc/containers/registries.conf
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
# ── Build container image (includes WASM build stage) and push ──
|
|
||||||
- name: Configure insecure registry
|
|
||||||
run: |
|
run: |
|
||||||
mkdir -p /etc/containers
|
git clone --depth 1 https://${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASSWORD }}@git.kimchi/tas/major_tom.git .
|
||||||
printf '[[registry]]\nlocation = "git.kimchi"\ninsecure = true\n' > /etc/containers/registries.conf
|
|
||||||
|
|
||||||
- name: Build and push container image
|
- name: Build and push container image
|
||||||
run: |
|
run: |
|
||||||
@@ -42,7 +30,6 @@ jobs:
|
|||||||
|
|
||||||
echo "IMAGE_TAG=$IMAGE_TAG" >> "$GITHUB_ENV"
|
echo "IMAGE_TAG=$IMAGE_TAG" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
# ── Deploy to k3s ──
|
|
||||||
- name: Deploy to k3s
|
- name: Deploy to k3s
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.kube
|
mkdir -p ~/.kube
|
||||||
|
|||||||
Reference in New Issue
Block a user