Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Add caching for private Tangle docker images #1079

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/actions/iota-sandbox/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: 'Setup IOTA Sandbox'
runs:
using: "composite"
steps:
- name: Setup iota sandbox
- name: Download iota sandbox
shell: bash
run: |
# Use next lines for using the GitHub release
Expand All @@ -19,8 +19,16 @@ runs:

# Use the next lines to use the main branch
# git clone https://github.com/iotaledger/iota-sandbox
# cd iota-sandbox/sandbox

- name: Cache Docker images
uses: ScribeMD/docker-cache@e481e638abdb45e2fa30845305c387a544cc617f #0.3.7
with:
key: docker-sandbox-${{ hashFiles('iota-sandbox/sandbox/docker-compose.yml') }}

- name: Setup iota sandbox
shell: bash
run: |
cd iota-sandbox/sandbox
# Start Tangle
sudo ./bootstrap.sh
docker compose up -d
Expand Down
Loading