|
@@ -1,37 +0,0 @@
|
|
|
-name: Attu prod release
|
|
|
-
|
|
|
-on:
|
|
|
- release:
|
|
|
- types: [published]
|
|
|
-
|
|
|
-jobs:
|
|
|
- publish:
|
|
|
- runs-on: ubuntu-latest
|
|
|
- steps:
|
|
|
- - uses: actions/checkout@v2
|
|
|
- - name: Setup Node.js
|
|
|
- uses: actions/setup-node@v3
|
|
|
- with:
|
|
|
- node-version: 18
|
|
|
-
|
|
|
- - name: Set up QEMU
|
|
|
- uses: docker/setup-qemu-action@v3
|
|
|
-
|
|
|
- - name: Set up Docker Buildx
|
|
|
- uses: docker/setup-buildx-action@v3
|
|
|
-
|
|
|
- - name: Login to DockerHub
|
|
|
- uses: docker/login-action@v1
|
|
|
- with:
|
|
|
- username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
- password: ${{ secrets.DOCKER_PWD }}
|
|
|
-
|
|
|
- - name: Docker Build and Push
|
|
|
- uses: docker/build-push-action@v5
|
|
|
- with:
|
|
|
- context: .
|
|
|
- platforms: linux/amd64
|
|
|
- tags: |
|
|
|
- zilliz/attu:${{ github.event.release.tag_name }},zilliz/attu:latest
|
|
|
- build-args: VERSION=${{ github.event.release.tag_name }}
|
|
|
- push: true
|