Skip to content

Commit

Permalink
Merge pull request #4 from FraunhoferIOSB/pipeline-dev
Browse files Browse the repository at this point in the history
Adding workflow for DockerHub
  • Loading branch information
AlexanderWollbrink authored Sep 15, 2023
2 parents fbdb4ef + 18192ab commit 45ac58f
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 22 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/build-and-publish-docker-images-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build-and-publish-docker-images-workflow

on:
push:

release:
types: [published]

jobs:
Build-and-publish-docker-images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push All in One image
uses: docker/build-push-action@v5
with:
file: ./Dockerfile
context: .
push: true
tags: fraunhoferiosb/aasportal_aio:latest

- name: Build and push AASPortal (frontend) image
uses: docker/build-push-action@v5
with:
file: ./Dockerfile.aas-portal
context: .
push: true
tags: fraunhoferiosb/aasportal_aasportal:latest

- name: Build and push AASServer (backend) image
uses: docker/build-push-action@v5
with:
file: ./Dockerfile.aas-server
context: .
push: true
tags: fraunhoferiosb/aasportal_aasserver:latest
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions projects/aas-lib/package.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"@ngx-translate/http-loader": "^8.0.0",
"@popperjs/core": "^2.11.8",
"@xmldom/xmldom": "^0.8.10",
"aas-lib": "2.0.0",
"aas-lib": "3.0.0",
"bootstrap": "^5.3.1",
"bootstrap-icons": "^1.10.5",
"chart.js": "^4.3.3",
"common": "2.0.0",
"common": "3.0.0",
"jwt-decode": "^3.1.2",
"lodash-es": "^4.17.21",
"rxjs": "~7.8.1",
Expand Down
4 changes: 2 additions & 2 deletions projects/aas-lib/package.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
"@ngx-translate/http-loader": "^8.0.0",
"@popperjs/core": "^2.11.8",
"@xmldom/xmldom": "^0.8.10",
"aas-lib": "2.0.0",
"aas-lib": "3.0.0",
"bootstrap": "^5.3.1",
"bootstrap-icons": "^1.10.5",
"chart.js": "^4.3.3",
"common": "2.0.0",
"common": "3.0.0",
"jwt-decode": "^3.1.2",
"lodash-es": "^4.17.21",
"rxjs": "~7.8.1",
Expand Down
4 changes: 2 additions & 2 deletions projects/aas-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
"@ngx-translate/http-loader": "^8.0.0",
"@popperjs/core": "^2.11.8",
"@xmldom/xmldom": "^0.8.10",
"aas-lib": "2.0.0",
"aas-lib": "3.0.0",
"bootstrap": "^5.3.1",
"bootstrap-icons": "^1.10.5",
"chart.js": "^4.3.3",
"common": "2.0.0",
"common": "3.0.0",
"jwt-decode": "^3.1.2",
"lodash-es": "^4.17.21",
"rxjs": "~7.8.1",
Expand Down
4 changes: 2 additions & 2 deletions projects/aas-portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
"@ngx-translate/http-loader": "^8.0.0",
"@popperjs/core": "^2.11.8",
"@xmldom/xmldom": "^0.8.10",
"aas-lib": "2.0.0",
"aas-lib": "3.0.0",
"bootstrap": "^5.3.1",
"bootstrap-icons": "^1.10.5",
"chart.js": "^4.3.3",
"common": "2.0.0",
"common": "3.0.0",
"jwt-decode": "^3.1.2",
"lodash-es": "^4.17.21",
"rxjs": "~7.8.1",
Expand Down
2 changes: 1 addition & 1 deletion projects/aas-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dependencies": {
"@xmldom/xmldom": "^0.8.10",
"bcryptjs": "^2.4.3",
"common": "2.0.0",
"common": "3.0.0",
"cors": "^2.8.5",
"express": "^4.18.2",
"form-data": "^4.0.0",
Expand Down

0 comments on commit 45ac58f

Please sign in to comment.