diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index 7d48eb5..371bdf1 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -9,26 +9,25 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - - name: Set up Docker Buildx + - + name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - + name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - name: Login to Github Actions + - + name: Login to Github Actions uses: docker/login-action@v1 with: username: ${{ github.actor }} password: ${{ secrets.CR_PAT }} registry: ghcr.io - - name: Build and push + - + name: Build and push uses: docker/build-push-action@v2 with: context: . pull: true push: true tags: ghcr.io/graynk/voicos:latest - watchtower: - runs-on: ubuntu-latest - needs: push_to_registry - steps: - - name: curl - uses: wei/curl@v1 - with: - args: -H ${{ secrets.WATCHTOWER_TOKEN }} ${{ secrets.SERVER_IP }}/v1/update + platforms: linux/amd64,linux/arm64