From 058b830ee54482d7767984561eb55d10801e998f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Fri, 7 Jun 2024 15:23:24 +0100 Subject: [PATCH] add hangfire workflow --- .github/workflows/build-hangfire-image.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/build-hangfire-image.yml diff --git a/.github/workflows/build-hangfire-image.yml b/.github/workflows/build-hangfire-image.yml new file mode 100644 index 0000000..d8b0c41 --- /dev/null +++ b/.github/workflows/build-hangfire-image.yml @@ -0,0 +1,19 @@ +name: Build and push hangfire image to registry + +on: + push: + branches: + - main + tags: + - v* + +jobs: + build-hangfire: + uses: code4romania/.github/.github/workflows/build-push-image.yml@main + with: + images: code4romania/rezultate-vot-hangfire + dockerfile: ./api/src/Vote.Monitor.Hangfire/Dockerfile + context: ./api + secrets: + username: ${{ secrets.DOCKER_HUB_USERNAME }} + token: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}