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