-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
docker_build_and_publish: | ||
name: Build and push Docker image to Docker Hub | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Push to Docker Hub | ||
uses: docker/build-push-action@v1 # Info: https://github.com/docker/build-push-action/tree/releases/v1#tags | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
repository: ${{ secrets.DOCKERHUB_REPOSITORY }} | ||
tag_with_ref: true # Info: https://github.com/docker/build-push-action/tree/releases/v1#tag_with_ref | ||
tag_with_sha: true # Info: https://github.com/docker/build-push-action/tree/releases/v1#tag_with_sha | ||
tags: ${{ GITHUB_REF }} | ||
helm_build_and_publish: | ||
name: Build and push helm chart | ||
runs-on: ubuntu-latest | ||
steps: [ ] | ||
update_gitops: | ||
name: Update Gitops repo to use latest version | ||
runs-on: ubuntu-latest | ||
steps: [ ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
# Ekul.no | ||
|
||
Source of [ekul.no](https://ekul.no) | ||
Source of [ekul.no](https://ekul.no). | ||
|
||
To be upgraded to modern website, for the lols. | ||
|
||
# CI | ||
|
||
After upgrading to modern website: | ||
|
||
- run linting | ||
- run dependency scanning | ||
- build typescript | ||
- run unit tests | ||
|
||
Until then, just this. | ||
|
||
- build docker image | ||
- publish docker image | ||
- create helm chart | ||
- publish helm chart | ||
- trigger argocd pipeline | ||
|
||
dev branch: dev.ekul.no | ||
main branch: ekul.no |