Skip to content

Fix namespace

Fix namespace #16

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Build and push
run: |
docker build --platform=linux/arm64 -t docker.sungjunyoung.dev/blog:v1.0 .
docker push docker.sungjunyoung.dev/blog:v1.0
- uses: actions-hub/kubectl@master
name: Rollout deployment
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with:
args: set image -n live deployment/blog blog=docker.sungjunyoung.dev/blog:v1.0