Skip to content

Commit 5600776

Browse files
committed
Update Docker workflow to use ubuntu-latest for builds and remove deployment steps
1 parent f38735b commit 5600776

1 file changed

Lines changed: 1 addition & 21 deletions

File tree

.github/workflows/docker-release.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
jobs:
1111
build:
1212
name: Build
13-
runs-on: self-hosted
13+
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository
1616
uses: actions/checkout@v3
@@ -28,23 +28,3 @@ jobs:
2828
docker push ghcr.io/${{ github.repository }}:${{ github.sha }}
2929
docker tag ghcr.io/${{ github.repository }}:${{ github.sha }} ghcr.io/${{ github.repository }}:latest
3030
docker push ghcr.io/thenulldev/api:latest
31-
32-
deploy:
33-
name: Deploy
34-
needs: build
35-
runs-on: self-hosted
36-
env:
37-
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
38-
environment:
39-
name: Live
40-
url: https://torch.thenull.dev
41-
steps:
42-
- name: Deploy
43-
uses: actions-hub/kubectl@master
44-
with:
45-
args: set image -n nulldev deployment/${{ env.DEPLOYMENT_ID }} ${{ env.DEPLOYMENT_ID }}=ghcr.io/${{ github.repository }}:${{ github.sha }}
46-
47-
- name: Rollout
48-
uses: actions-hub/kubectl@master
49-
with:
50-
args: rollout status -n nulldev deployment/${{ env.DEPLOYMENT_ID }}

0 commit comments

Comments
 (0)