Upgrade bootstrap to 5.3.5 and remove ttip package #1146
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: Build container | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - staging | |
| - prod | |
| pull_request: | |
| types: [opened, synchronize, labeled] | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| docker-build: | |
| if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'build-container') | |
| runs-on: ubuntu-22.04 | |
| name: Docker Build and Push | |
| steps: | |
| - name: Generate Auth Token | |
| uses: actions/create-github-app-token@v2 | |
| id: app-token | |
| with: | |
| app-id: ${{ secrets.APP_ID }} | |
| private-key: ${{ secrets.APP_PRIVATE_KEY }} | |
| owner: metacpan | |
| - uses: actions/checkout@v5 | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} | |
| - name: Docker build test | |
| run: docker build . --target test --tag test | |
| - name: Docker test | |
| run: docker run test | |
| - uses: metacpan/metacpan-actions/docker-build-push@master | |
| id: build-push | |
| with: | |
| docker_hub_username: ${{ secrets.DOCKER_HUB_USER }} | |
| docker_hub_password: ${{ secrets.DOCKER_HUB_TOKEN }} | |
| ghcr_username: ${{ github.repository_owner }} | |
| ghcr_password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Update deployed image | |
| if: ${{ fromJSON(steps.build-push.outputs.tag-fq).latest }} | |
| uses: metacpan/metacpan-actions/update-deployed-tag@master | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} | |
| app: web | |
| environment: prod | |
| base-tag: ${{ fromJSON(steps.build-push.outputs.tag-fq).latest }} | |
| tag: ${{ fromJSON(steps.build-push.outputs.tag-fq).sha }} |