Skip to content

Commit

Permalink
test changes to test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioSCX committed Nov 12, 2024
1 parent ab9a0d5 commit aea03c6
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
workflow_dispatch:
push:
branches: [master]
# branches: [master]

jobs:
test:
Expand Down Expand Up @@ -111,15 +111,15 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Creating Release
uses: softprops/action-gh-release@975c1b265e11dd76618af1c374e7981f9a6ff44a
with:
tag_name: ${{ needs.test.outputs.git_tag }}
name: ${{ needs.test.outputs.git_tag }}
body: ${{ needs.test.outputs.notes }}
target_commitish: ${{ steps.commit_and_push.outputs.latest_commit_hash }}
files: |
dist/*.zip
# - name: Creating Release
# uses: softprops/action-gh-release@975c1b265e11dd76618af1c374e7981f9a6ff44a
# with:
# tag_name: ${{ needs.test.outputs.git_tag }}
# name: ${{ needs.test.outputs.git_tag }}
# body: ${{ needs.test.outputs.notes }}
# target_commitish: ${{ steps.commit_and_push.outputs.latest_commit_hash }}
# files: |
# dist/*.zip

- name: Build and push
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
Expand All @@ -128,8 +128,7 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
checkmarx/2ms:latest
checkmarx/2ms:${{ needs.test.outputs.version }}
checkmarx/2ms:testrelease
- name: Update Docker repo description
uses: peter-evans/dockerhub-description@e98e4d1628a5f3be2be7c231e50981aee98723ae # v4.0.0
Expand Down

0 comments on commit aea03c6

Please sign in to comment.