Skip to content

Commit

Permalink
set tag
Browse files Browse the repository at this point in the history
  • Loading branch information
shweta50 committed Sep 14, 2024
1 parent 9702e39 commit e3e3adf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ovs-multiarch-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ jobs:
PUSH: true
runs-on: ubuntu-latest
steps:
- name: Set TAG
run: |
TAG=${{ env.TAG }}
if [[ $? -ne 0 ]]
then
TAG=${TAG//\/}
echo "in if block"
#$TAG | sed 's/[^a-zA-Z0-9_.]/-/g'
else
TAG=${TAG//\/}
#TAG=$(echo $TAG | sed 's/-.*//')-pmk
fi
echo $TAG
- uses: actions/checkout@v3

- name: Setup Docker BuildX
Expand Down

0 comments on commit e3e3adf

Please sign in to comment.