ci: update ci script

This commit is contained in:
Christy Jacob
2023-06-06 15:33:22 +05:30
parent 7798e28129
commit ababe6a382
+4 -4
View File
@@ -7,10 +7,10 @@ on:
tags:
jobs:
build-deploy:
if: startsWith(github.ref, 'refs/tags/')
name: Build
build-publish:
name: Build and Publish
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout repository
@@ -34,7 +34,7 @@ jobs:
tags: |
type=pep440,pattern={{version}},value=${{ github.ref_name }}
- name: Publish to DockerHub
- name: Build & Publish to DockerHub
uses: docker/build-push-action@v4
with:
context: .