Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RapidCodeLab committed Nov 18, 2023
1 parent fb0c365 commit a75f9be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Deploy Docker image to Docker Hub
on:
push:
branches:
- main
tags:
- 'v[0-9].[0-9]+.[0-9]+'

jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Extract Version
id: version_step
Expand Down

0 comments on commit a75f9be

Please sign in to comment.