Skip to content

Commit

Permalink
feat(server): init logging-house-server with publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
dhommen committed Jan 23, 2024
1 parent 7c673c6 commit 4714bfd
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/publish-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Publish-Server
on:
push:
branches:
- feat/logging-house-server

publish-ch-edc:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Build Docker image
run: cd logging-house-server/app && docker build -t ghcr.io/truzzt/mds-ap3/app:0.1.0 .

- name: Push Docker image
run: docker push ghcr.io/truzzt/mds-ap3/app:0.1.0


publish-ch-edc:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Build Docker image
run: cd logging-house-server/edc && docker build -t ghcr.io/truzzt/mds-ap3/edc:0.1.0 .

- name: Push Docker image
run: docker push ghcr.io/truzzt/mds-ap3/edc:0.1.0
1 change: 1 addition & 0 deletions logging-house-server/app/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM ghcr.io/truzzt/ids-basecamp-clearing/ch-app:1.0.0-alpha.7
1 change: 1 addition & 0 deletions logging-house-server/edc/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM ghcr.io/truzzt/ids-basecamp-clearing/ch-edc:1.0.0-alpha.7

0 comments on commit 4714bfd

Please sign in to comment.