|
30 | 30 | type=raw,value=latest,enable={{is_default_branch}} |
31 | 31 | labels: | |
32 | 32 | maintainer=AnJia <anjia0532@gmail.com> |
33 | | - org.opencontainers.image.description="从注册中心(如Nacos,Eureka)同步实例信息到网关服务(如Apisix,Kong)" |
| 33 | + org.opencontainers.image.description=从注册中心(如Nacos,Eureka)同步实例信息到网关服务(如Apisix,Kong) |
34 | 34 | org.opencontainers.image.title=discovery-syncer-python |
35 | 35 |
|
36 | 36 | - name: Docker meta syncer backup |
|
47 | 47 | type=raw,value=latest,enable={{is_default_branch}} |
48 | 48 | labels: | |
49 | 49 | maintainer=AnJia <anjia0532@gmail.com> |
50 | | - org.opencontainers.image.description="从注册中心(如Nacos,Eureka)同步实例信息到网关服务(如Apisix,Kong)" |
51 | | - org.opencontainers.image.title=discovery-syncer-python |
| 50 | + org.opencontainers.image.description=从注册中心(如Nacos,Eureka)同步实例信息到网关服务(如Apisix,Kong) |
| 51 | + org.opencontainers.image.title=discovery-syncer-python-backup |
52 | 52 |
|
53 | 53 | - name: Log in to GitHub Docker Registry |
54 | 54 | uses: docker/login-action@v3 |
|
57 | 57 | password: ${{ secrets.HUB_PWD }} |
58 | 58 |
|
59 | 59 | - name: Build discovery-syncer-python image |
| 60 | + uses: docker/build-push-action@v6 |
| 61 | + with: |
| 62 | + context: . |
| 63 | + file: misc/docker/Dockerfile |
| 64 | + push: true |
| 65 | + labels: ${{ steps.meta.outputs.labels }} |
| 66 | + tags: ${{ steps.meta.outputs.tags }} |
| 67 | + cache-from: type=registry,ref=anjia0532/discovery-syncer-python:latest |
| 68 | + cache-to: type=inline |
| 69 | + |
| 70 | + - name: Build discovery-syncer-python-backup image |
60 | 71 | uses: docker/build-push-action@v6 |
61 | 72 | with: |
62 | 73 | context: . |
|
0 commit comments