Skip to content

Commit 0c04dac

Browse files
authored
Merge pull request #564 from Concordium/lma/migrate/github_actions
Migrate to github actions
2 parents 551852e + 59dbd36 commit 0c04dac

File tree

6 files changed

+34
-2
lines changed

6 files changed

+34
-2
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
on:
2+
push:
3+
tags:
4+
- dapp-esealing/*
5+
6+
jobs:
7+
release-dapp-esealing-image:
8+
uses: concordium/.github/.github/workflows/docker-release-workflow.yaml@v1
9+
with:
10+
DOCKER_FILE_PATH: ./examples/eSealing/Dockerfile
11+
DOCKER_CONTEXT: examples/eSealing
12+
BUILD_ARGS: |
13+
base_image=node:18-slim
14+
SERVICE_NAME: "dapp-esealing"
15+
secrets: inherit
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
on:
2+
push:
3+
tags:
4+
- dapp-voting/*
5+
6+
jobs:
7+
release-dapp-voting-image:
8+
uses: concordium/.github/.github/workflows/docker-release-workflow.yaml@v1
9+
with:
10+
SERVICE_NAME: "dapp-voting"
11+
DOCKER_CONTEXT: "./examples/voting"
12+
BUILD_ARGS: |
13+
base_image=node:18-slim
14+
DOCKER_FILE_PATH: examples/voting/Dockerfile
15+
secrets: inherit

examples/eSealing/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ RUN yarn && yarn cache clean
1414
RUN yarn build
1515

1616
FROM nginx
17+
LABEL build_image="${build_image}"
1718
COPY --from=build ./app/dist ./usr/share/nginx/html
1819
COPY ./nginx.conf /etc/nginx/conf.d/default.conf

examples/eSealing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "e_sealing",
33
"packageManager": "[email protected]",
4-
"version": "1.1.4",
4+
"version": "1.1.6",
55
"license": "Apache-2.0",
66
"dependencies": {
77
"@concordium/react-components": "^0.4.0",

examples/voting/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ RUN yarn && yarn cache clean
1414
RUN yarn build
1515

1616
FROM nginx
17+
LABEL build_image="${build_image}"
1718
COPY --from=build ./app/dist ./usr/share/nginx/html
1819
COPY ./nginx.conf /etc/nginx/conf.d/default.conf

examples/voting/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "voting",
33
"license": "Apache-2.0",
4-
"version": "1.1.4",
4+
"version": "1.1.6",
55
"packageManager": "[email protected]",
66
"dependencies": {
77
"@concordium/browser-wallet-api-helpers": "^3.0.0",

0 commit comments

Comments
 (0)