-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from FraunhoferIOSB/pipeline-dev
Adding workflow for DockerHub
- Loading branch information
Showing
7 changed files
with
65 additions
and
22 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
.github/workflows/build-and-publish-docker-images-workflow.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters