diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b625dcb..e7d2deb 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -50,4 +50,4 @@ jobs: username: ${{ secrets.USERNAME }} password: ${{ secrets.PASSWORD }} port: ${{ secrets.PORT }} - script: kubectl set image deploy/api-server api-server=${{ secrets.DOCKERHUB_USERNAME }}/api-server:${{ steps.vars.outputs.short_sha }} + script: kubectl -n ${{ secrets.NAMESPACE }} set image deploy/api-server api-server=${{ secrets.DOCKERHUB_USERNAME }}/api-server:${{ steps.vars.outputs.short_sha }}