Skip to content

Commit

Permalink
Comment code for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-wal committed Jul 19, 2024
1 parent b5552e4 commit c6c7fe7
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/release-new-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,19 +134,19 @@ jobs:
type=ref,event=branch
type=ref,event=pr,pattern={{branch}}
- name: Build tag and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Create and push tag
if: inputs.version != ''
run: |
TAG_NAME="v${{ steps.meta.outputs.tags }}"
git tag $TAG_NAME
git push origin $TAG_NAME
# - name: Build tag and push Docker image
# uses: docker/build-push-action@v6
# with:
# context: .
# push: true
# tags: ${{ steps.meta.outputs.tags }}
# cache-from: type=gha
# cache-to: type=gha,mode=max
# github-token: ${{ secrets.GITHUB_TOKEN }}

# - name: Create and push tag
# if: inputs.version != ''
# run: |
# TAG_NAME="v${{ steps.meta.outputs.tags }}"
# git tag $TAG_NAME
# git push origin $TAG_NAME

0 comments on commit c6c7fe7

Please sign in to comment.