rename "docker" job to "build", make dependency for deploy

This commit is contained in:
2024-06-06 01:14:15 +03:00
parent bb6e30082d
commit 99204b946a
+2 -1
View File
@@ -4,7 +4,7 @@ on:
push: push:
jobs: jobs:
docker: build:
name: Build Docker image name: Build Docker image
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -49,6 +49,7 @@ jobs:
deploy: deploy:
name: Deploy to Kubernetes cluster name: Deploy to Kubernetes cluster
needs: [build]
runs-on: k8s-route runs-on: k8s-route
if: github.ref == 'refs/heads/dev' if: github.ref == 'refs/heads/dev'
steps: steps: