diff --git a/.github/workflows/build-and-publish-docker-images-workflow.yml b/.github/workflows/build-and-publish-docker-images-workflow.yml new file mode 100644 index 00000000..e68e33b1 --- /dev/null +++ b/.github/workflows/build-and-publish-docker-images-workflow.yml @@ -0,0 +1,25 @@ +name: Build-and-publish-docker-images-workflow + +on: + push: + + release: + types: [published] + +jobs: + Build-and-publish-docker-images: + runs-on: ubuntu-latest + steps: + - 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