Skip to content
name: 🐳 Docker Image Deployment
on:
workflow_dispatch:
release:
types: [published]
jobs:
build:
name: Push docker images to docker hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build service image
id: build-docker-image
run: make build -C ./service
- name: Push service image
id: push-docker-image
run: make dist -C ./service