Skip to content

Merge pull request #40 from jingzhaoyang/change-docker-repo #3

Merge pull request #40 from jingzhaoyang/change-docker-repo

Merge pull request #40 from jingzhaoyang/change-docker-repo #3

Workflow file for this run

name: ci
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to TCR
uses: docker/login-action@v3
with:
registry: ccr.ccs.tencentyun.com
username: ${{ secrets.DOCKER_LOGIN_USER }}
password: ${{ secrets.DOCKER_LOGIN_PASSWORD }}
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
file: ./docker/rts/Dockerfile
tags: ccr.ccs.tencentyun.com/free/rts:latest