Skip to content

init: issue templates #16

init: issue templates

init: issue templates #16

name: Build and push Docker image to DockerHub
on:
push:
branches: [ "main" ]
workflow_dispatch: # allows manual trigger
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DBP_DOCKERHUB_CREDENTIAL_USERNAME }}
password: ${{ secrets.DBP_DOCKERHUB_CREDENTIAL_TOKEN_PUSHIMAGES }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: dbpedia/databus-python-client:latest