Update slim tags for ibm_catalog.json #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Create slim tag" | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| run: | |
| name: "Run" | |
| runs-on: ubuntu-24.04 | |
| defaults: | |
| run: | |
| shell: bash | |
| env: | |
| BASE_TAG: "release-1.4.0" | |
| steps: | |
| - name: Install system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y wget git curl | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Fetch complete history | |
| fetch-tags: true # Fetch all tags | |
| - name: Configure Git | |
| run: | | |
| git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| git config user.name "GitHub Actions" | |
| git config user.email "[email protected]" | |
| - name: Create slim tag | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: ./.github/slim-tags/run.sh ${{ env.BASE_TAG }} | |
| - name: Push slim tag | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: git push origin tag ${{ env.BASE_TAG }}-slim |