Skip to content

Build and Push to Docker Hub #13

Build and Push to Docker Hub

Build and Push to Docker Hub #13

name: Docker Image CI
on:
workflow_dispatch:
pull_request:
branches: [ "main" ]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: naritter
password: ${{ secrets.DOCKERHUB_PASSWORD}}
- name: Build and push Docker image
uses: docker/[email protected]
with:
context: .
push: true
tags: docker.io/naritter/seb-sps-gui:demo-testing