Skip to content

Commit

Permalink
fix ambiguous redirect (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyToshka authored Jan 9, 2024
1 parent 2274f0a commit 2b3caaa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-hub-image-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@ jobs:

- name: Set Agent version
shell: bash
run: echo "AGENT_VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed 's/v//g')" >> $GITHUB_AGENT_VERSION
run: echo "AGENT_VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed 's/v//g')" >> $GITHUB_ENV

- name: Set Docker tag
shell: bash
run: echo "TAG_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed 's/v//g'|sed 's/-1//g)" >> $GITHUB_OUTPUT
run: echo "TAG_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed 's/v//g'|sed 's/-1//g)" >> $GITHUB_ENV

- name: Docker tag and agent version
run: |
echo "All envs ${{ env }}"
echo "New docker image tag ${{ env.TAG_NAME }}"
echo "Wazuh agent version ${{ env.AGENT_VERSION }}"
Expand Down

0 comments on commit 2b3caaa

Please sign in to comment.