Skip to content

chore(deps): bump codecov/codecov-action from 3.1.4 to 4.4.1 #21

chore(deps): bump codecov/codecov-action from 3.1.4 to 4.4.1

chore(deps): bump codecov/codecov-action from 3.1.4 to 4.4.1 #21

name: Build Artifacts for PRs
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
generate-tag:
name: Generate docker tag
runs-on: ubuntu-latest
outputs:
image_tag: ${{steps.gen_tag_names.outputs.tag_name}}
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
with:
fetch-depth: 1
# Replace problematic characters in branch name (like '/') with safe characters (like '.')
- name: Generate Tag Names
id: gen_tag_names
run: |
tag_name=$(echo ${{ github.head_ref }} | tr "/" .)
echo "Tag Name: $tag_name"
echo "tag_name=$tag_name" >> $GITHUB_OUTPUT
build:
name: Build Shopify Tracker Docker Image
uses: ./.github/workflows/build-and-push-docker-image.yml
needs: [generate-tag]
with:
img_tag: ${{ needs.generate-tag.outputs.image_tag }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}