Skip to content

Commit

Permalink
Merge pull request #101 from ynput/enhancement/ci-deploy-docker-images
Browse files Browse the repository at this point in the history
Chore: Deploy docker images on release
  • Loading branch information
iLLiCiTiT authored Jan 20, 2025
2 parents ffdb33e + d58baaf commit 07158e6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy_docker_images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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 processor image
id: build-processor-docker-image
run: make build -C ./services/processor

- name: Push processor image
id: push-processor-docker-image
run: make dist -C ./services/processor

0 comments on commit 07158e6

Please sign in to comment.