Skip to content

Commit

Permalink
update github actions to multi-build
Browse files Browse the repository at this point in the history
  • Loading branch information
graynk committed Jul 18, 2021
1 parent f8d562a commit 8d87e65
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8d87e65

Please sign in to comment.