Skip to content

Commit

Permalink
cicd only release
Browse files Browse the repository at this point in the history
  • Loading branch information
arisjr committed Apr 16, 2023
1 parent dca9932 commit b9db3dd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ jobs:

runs-on: ubuntu-latest

if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master'
# if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master'
if: startsWith(github.ref, 'refs/tags/')

steps:
- uses: actions/checkout@v3

Expand All @@ -17,7 +19,8 @@ jobs:
- name: Docker login
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_TOKEN }}

- name: Docker build transcriptor-SNAPSHOT
- name: Docker build transcriptor-SNAPSHOT
if: startsWith(github.ref, 'refs/tags/')
uses: docker/build-push-action@v4
with:
context: .
Expand Down

0 comments on commit b9db3dd

Please sign in to comment.