clean up images; rename job
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Build and Push Docker Image
|
||||
name: Deployment
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -7,8 +7,8 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-push-test:
|
||||
name: 'Docker Build and Push to Gitea Registry'
|
||||
deploy-site:
|
||||
name: 'deploy'
|
||||
env:
|
||||
REGISTRY_USERNAME: nicholas
|
||||
IMAGE_REGISTRY: git.uuard.com
|
||||
@@ -36,7 +36,6 @@ jobs:
|
||||
uses: azure/setup-kubectl@v4
|
||||
with:
|
||||
version: 'latest'
|
||||
#id: install
|
||||
|
||||
- name: 🔑 Configure Kubeconfig
|
||||
run: |
|
||||
@@ -55,3 +54,7 @@ jobs:
|
||||
kubectl apply -f k8s/service.yml
|
||||
kubectl apply -f k8s/ingress.yml
|
||||
kubectl rollout status deployment/proving-ground
|
||||
|
||||
- name: 🧹 Prune images
|
||||
if: always()
|
||||
run: docker image prune -f
|
||||
|
||||
Reference in New Issue
Block a user