Skip to content

Commit

Permalink
Use Balena CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
ATechAdventurer committed Dec 6, 2023
1 parent e542427 commit 3f776f9
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,19 @@ jobs:
# # This step uses the identity token to provision an ephemeral certificate
# # against the sigstore community Fulcio instance.
# run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}
- name: Deploy to Balena
uses: balena-io/deploy-to-balena-action@master
id: build
# - name: Deploy to Balena
# uses: balena-io/deploy-to-balena-action@master
# id: build
# with:
# balena_token: ${{ secrets.BALENA_TOKEN }}
# fleet: ${{ secrets.BALENA_FLEET }}
- name: Balena Deploy
uses: Theia-Scientific/balena-cli@latest
if: success()
with:
balena_token: ${{ secrets.BALENA_TOKEN }}
fleet: ${{ secrets.BALENA_FLEET }}
balena_api_token: ${{secrets.BALENA_TOKEN}}
balena_command: "push ${{secrets.BALENA_FLEET}} --logs"
balena_url: balena-staging.com

- name: Log release ID built
run: echo "Built release ID ${{ steps.build.outputs.release_id }}"

0 comments on commit 3f776f9

Please sign in to comment.