Skip to content

Commit

Permalink
Merge pull request #25 from Zondax/ci
Browse files Browse the repository at this point in the history
update ci
  • Loading branch information
jleni authored Jun 26, 2023
2 parents 5d0da50 + f2ad9a2 commit 830b188
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 59 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/main.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/publishLedger.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "Publish Ledger App Builder Image"
name: "Build and Publish Ledger App Builder Image"
on:
workflow_dispatch:
push:
branches:
- main
- master
paths:
- "ledger-app-builder/*"
- ".github/workflows/publishLedger.yml"

jobs:
publish_ledger:
Expand All @@ -31,7 +31,7 @@ jobs:
with:
context: ledger-app-builder
platforms: linux/amd64,linux/arm64
push: true
push: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch' }}
tags: >-
zondax/ledger-app-builder:${{ steps.hash.outputs.hash }},
zondax/ledger-app-builder:latest,
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publishZondax.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "Publish Builder Bolos Image"
name: "Build and Publish Builder Bolos Image"
on:
workflow_dispatch:
push:
branches:
- main
- master
paths:
- "src/*"
- ".github/workflows/publishZondax.yml"

jobs:
build_zondax:
Expand All @@ -29,5 +29,5 @@ jobs:
with:
context: src
platforms: linux/amd64,linux/arm64
push: true
push: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch' }}
tags: zondax/builder-bolos:${{ steps.hash.outputs.hash }},zondax/builder-bolos:latest

0 comments on commit 830b188

Please sign in to comment.