Skip to content

Commit

Permalink
build: Update ci-file, remove linux tag (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusLevang authored May 3, 2024
1 parent 933fda2 commit acb17b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
needs: build-and-test
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
name: Create and push Docker image
runs-on: [self-hosted, Linux]
runs-on: [self-hosted]
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
name: Deploy to kubernetes stage environment
needs: build-and-publish-docker-image
if: github.ref == 'refs/heads/main'
runs-on: [self-hosted, Linux]
runs-on: [self-hosted]
environment: stage
steps:
- name: Checkout repository
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
name: Deploy to kubernetes prod environment
needs: build-and-publish-docker-image
if: startsWith(github.event.ref, 'refs/tags/v')
runs-on: [self-hosted, Linux]
runs-on: [self-hosted]
environment: prod
steps:
- name: Checkout repository
Expand Down Expand Up @@ -175,4 +175,4 @@ jobs:
kubectl config view
kubectl version
kubectl apply -f k8s/prod/bikube.yml
kubectl rollout restart deploy/bikube
kubectl rollout restart deploy/bikube

0 comments on commit acb17b9

Please sign in to comment.