Skip to content

Commit

Permalink
added workflow to deploy docker images on release
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Jan 20, 2025
1 parent ffdb33e commit d58baaf
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 d58baaf

Please sign in to comment.