-
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.
feat: implemented github actions workflow
- Loading branch information
1 parent
f1dc008
commit d345416
Showing
2 changed files
with
32 additions
and
2 deletions.
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,30 @@ | ||
name: building churrer.xyz | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: ["main"] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: get version | ||
uses: xile611/[email protected] | ||
id: version | ||
|
||
- name: log in to github container registry | ||
run: docker login https://ghcr.io -u {{ secrets.REGISTRY_USERNAME }} -p {{ secrets.REGISTRY_TOKEN }} | ||
|
||
- name: build client docker image | ||
run: docker build ./client --file Dockerfile --tag ghcr.io/danilomurer/churrer.xyz:${{ steps.version.outputs.version }} | ||
|
||
- name: publish client docker image | ||
run: docker push ghcr.io/danilomurer/churrer.xyz:${{ steps.version.outputs.version }} | ||
|
||
|
||
|
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,8 +1,8 @@ | ||
{ | ||
"name": "house", | ||
"version": "1.0.0", | ||
"version": "0.3.0", | ||
"private": true, | ||
"repository": "https://github.com/DaniloMurer/house.git", | ||
"repository": "https://github.com/DaniloMurer/churrer.xyz.git", | ||
"author": "Danilo Jakob <[email protected]>", | ||
"license": "MIT", | ||
"workspaces": [ | ||
|