Skip to content

Creating workflow for DockerHub #1

Creating workflow for DockerHub

Creating workflow for DockerHub #1

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