fix(web): sync active tab with route changes in notification settings #7
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: Docker Publish | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| docker: | |
| runs-on: ubuntu-latest | |
| environment: prod | |
| strategy: | |
| matrix: | |
| component: [gocron, gocron-node] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.23' | |
| cache: true | |
| - name: Set up QEMU | |
| run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes | |
| - name: Set up Docker Buildx | |
| run: | | |
| docker buildx create --use --name builder | |
| docker buildx inspect --bootstrap | |
| - name: Login to Docker Hub | |
| run: echo "${{ secrets.DOCKER_TOKEN }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin | |
| - name: Extract version | |
| id: version | |
| run: echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT | |
| - name: Build and push | |
| run: | | |
| docker buildx build \ | |
| --platform linux/amd64,linux/arm64 \ | |
| --file ./Dockerfile.${{ matrix.component }} \ | |
| --tag ${{ secrets.DOCKER_USERNAME }}/${{ matrix.component }}:${{ steps.version.outputs.version }} \ | |
| --tag ${{ secrets.DOCKER_USERNAME }}/${{ matrix.component }}:latest \ | |
| --cache-from type=registry,ref=${{ secrets.DOCKER_USERNAME }}/${{ matrix.component }}:buildcache \ | |
| --cache-to type=registry,ref=${{ secrets.DOCKER_USERNAME }}/${{ matrix.component }}:buildcache,mode=max \ | |
| --push \ | |
| . |