Skip to content

Commit

Permalink
Creating workflow for DockerHub
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWollbrink authored Sep 13, 2023
1 parent 677677c commit 5cef4b4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 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,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

0 comments on commit 5cef4b4

Please sign in to comment.