Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding workflow for DockerHub #4

Merged
merged 4 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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