fix date conversion bug in turms-client-swift (#1611) #1308
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: Publish turms-gateway | |
| on: [ push, pull_request ] | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4.2.2 | |
| - name: Set up QEMU | |
| id: qemu | |
| uses: docker/setup-qemu-action@v3.6.0 | |
| - name: Set up Docker Buildx | |
| id: buildx | |
| uses: docker/setup-buildx-action@v3.11.1 | |
| - name: Build turms-gateway image | |
| run: DOCKER_BUILDKIT=1 docker buildx build --platform linux/amd64,linux/arm64 --rm=false -t "ghcr.io/turms-im/turms-gateway:latest" -f turms-gateway/Dockerfile . | |
| - name: Docker login | |
| if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }} | |
| run: docker login ghcr.io -u $GITHUB_ACTOR -p $GITHUB_TOKEN | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| - name: Publish turms-gateway (Use cache) | |
| if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }} | |
| run: DOCKER_BUILDKIT=1 docker buildx build --platform linux/amd64,linux/arm64 --tag "ghcr.io/turms-im/turms-gateway:latest" --push -f turms-gateway/Dockerfile . |