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 70fef78 commit b008f1a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: Deploy Docker image to Docker Hub
on:
push:
branches:
- main
#branches:
# - main
tags:
# - 'v[0-9].[0-9]+.[0-9]+'
- 'v[0-9].[0-9]+.[0-9]+'

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

0 comments on commit b008f1a

Please sign in to comment.