diff --git a/.github/workflows/kairos-ubuntu-22-lts.yml b/.github/workflows/kairos-ubuntu-22-lts.yml index 236c17d..8552714 100644 --- a/.github/workflows/kairos-ubuntu-22-lts.yml +++ b/.github/workflows/kairos-ubuntu-22-lts.yml @@ -52,7 +52,7 @@ jobs: run: earthly ./images/kairos-ubuntu-22-lts/+image - id: tags - run: echo "TAG=$BRANCH" | sed -e 's/^v//' -e 's/\//_/' >> "$GITHUB_ENV" + run: echo "TAG=$BRANCH" | sed -e 's/=v/=/' -e 's/\//_/' >> "$GITHUB_ENV" env: BRANCH: ${{ github.ref_type == 'tag' && github.ref_name || github.event_name != 'pull_request' && 'latest' || format('pr-{0}', github.head_ref) }} diff --git a/.github/workflows/universal-silabs-flasher.yml b/.github/workflows/universal-silabs-flasher.yml index 104092e..6268dd2 100644 --- a/.github/workflows/universal-silabs-flasher.yml +++ b/.github/workflows/universal-silabs-flasher.yml @@ -41,7 +41,7 @@ jobs: run: docker login --username "${{ github.actor }}" --password "${{ secrets.GITHUB_TOKEN }}" ghcr.io - id: tags - run: echo "TAG=$BRANCH" | sed -e 's/^v//' -e 's/\//_/' >> "$GITHUB_ENV" + run: echo "TAG=$BRANCH" | sed -e 's/=v/=/' -e 's/\//_/' >> "$GITHUB_ENV" env: BRANCH: ${{ github.ref_type == 'tag' && github.ref_name || github.event_name != 'pull_request' && 'latest' || format('pr-{0}', github.head_ref) }}