Skip to content

Commit

Permalink
gha: Add APPLE_TEAM_ID to Tauri Action (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiero authored Oct 25, 2023
1 parent 77f10bb commit 89ada28
Showing 1 changed file with 2 additions and 35 deletions.
37 changes: 2 additions & 35 deletions .github/workflows/on-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
with:
tagName: ${{ steps.next_tag.outputs.tag }}
releaseName: "PremAI App ${{ steps.next_tag.outputs.tag }}"
Expand All @@ -103,38 +104,4 @@ jobs:
git commit -m "${{ steps.next_tag.outputs.tag }}"
git push origin HEAD:main
push-docker-image:
runs-on: ubuntu-latest
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"

steps:
- uses: actions/checkout@v3

- name: tag
id: next_tag
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
with:
install: true

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build & push prem
run: >-
docker buildx build --push
--file Dockerfile
--tag ghcr.io/premai-io/prem-app:latest
--tag ghcr.io/premai-io/prem-app:${{ steps.next_tag.outputs.tag }}
--platform linux/arm64,linux/amd64 .

0 comments on commit 89ada28

Please sign in to comment.