-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d9b52e
commit 0f21e7e
Showing
2 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Publish Docker image | |
on: | ||
push: | ||
branches: | ||
- main | ||
- docker-stuff | ||
|
||
jobs: | ||
push_to_registry: | ||
|
@@ -18,8 +18,7 @@ jobs: | |
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
|
||
- | ||
name: Set up Docker Buildx | ||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Log in to GHCR | ||
|
@@ -55,6 +54,8 @@ jobs: | |
uses: docker/[email protected] | ||
with: | ||
images: ghcr.io/blockfrost/firefly-cardanoconnect | ||
tags: | ||
- latest | ||
- name: Build and push Docker image for firefly-cardanoconnect | ||
id: firefly-cardanoconnect-push | ||
uses: docker/[email protected] | ||
|
@@ -73,6 +74,8 @@ jobs: | |
uses: docker/[email protected] | ||
with: | ||
images: ghcr.io/blockfrost/firefly-cardanosigner | ||
tags: | ||
- latest | ||
- name: Build and push Docker image for firefly-cardanosigner | ||
id: firefly-cardanosigner-push | ||
uses: docker/[email protected] | ||
|
@@ -86,3 +89,17 @@ jobs: | |
push: true | ||
tags: ${{ steps.firefly-cardanosigner-meta.outputs.tags }} | ||
labels: ${{ steps.firefly-cardanosigner-meta.outputs.labels }} | ||
|
||
demo: | ||
name: Run Demo | ||
runs-on: ubuntu-latest | ||
needs: push_to_registry | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
- name: Start docker-compose | ||
run: docker compose -f ./infra/docker-compose.yaml -p preview up -d --no-build | ||
- name: Add just | ||
uses: extractions/setup-just@v2 | ||
- name: Run demo | ||
run: just demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters