Skip to content

Commit

Permalink
Merge pull request #564 from Concordium/lma/migrate/github_actions
Browse files Browse the repository at this point in the history
Migrate to github actions
  • Loading branch information
lassemand authored Nov 8, 2024
2 parents 551852e + 59dbd36 commit 0c04dac
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release-dapp-esealing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
push:
tags:
- dapp-esealing/*

jobs:
release-dapp-esealing-image:
uses: concordium/.github/.github/workflows/docker-release-workflow.yaml@v1
with:
DOCKER_FILE_PATH: ./examples/eSealing/Dockerfile
DOCKER_CONTEXT: examples/eSealing
BUILD_ARGS: |
base_image=node:18-slim
SERVICE_NAME: "dapp-esealing"
secrets: inherit
15 changes: 15 additions & 0 deletions .github/workflows/release-dapp-voting.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
push:
tags:
- dapp-voting/*

jobs:
release-dapp-voting-image:
uses: concordium/.github/.github/workflows/docker-release-workflow.yaml@v1
with:
SERVICE_NAME: "dapp-voting"
DOCKER_CONTEXT: "./examples/voting"
BUILD_ARGS: |
base_image=node:18-slim
DOCKER_FILE_PATH: examples/voting/Dockerfile
secrets: inherit
1 change: 1 addition & 0 deletions examples/eSealing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ RUN yarn && yarn cache clean
RUN yarn build

FROM nginx
LABEL build_image="${build_image}"
COPY --from=build ./app/dist ./usr/share/nginx/html
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
2 changes: 1 addition & 1 deletion examples/eSealing/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "e_sealing",
"packageManager": "[email protected]",
"version": "1.1.4",
"version": "1.1.6",
"license": "Apache-2.0",
"dependencies": {
"@concordium/react-components": "^0.4.0",
Expand Down
1 change: 1 addition & 0 deletions examples/voting/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ RUN yarn && yarn cache clean
RUN yarn build

FROM nginx
LABEL build_image="${build_image}"
COPY --from=build ./app/dist ./usr/share/nginx/html
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
2 changes: 1 addition & 1 deletion examples/voting/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "voting",
"license": "Apache-2.0",
"version": "1.1.4",
"version": "1.1.6",
"packageManager": "[email protected]",
"dependencies": {
"@concordium/browser-wallet-api-helpers": "^3.0.0",
Expand Down

0 comments on commit 0c04dac

Please sign in to comment.