Skip to content

Commit

Permalink
feat(*) add CI for nighly SuperNode Docker image
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Steiner <[email protected]>
  • Loading branch information
Robert-Steiner committed Apr 24, 2024
1 parent 91673b1 commit c1dd02e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/_docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ jobs:
import hashlib
import os
hash = hashlib.sha256('''${{ inputs.build-args }}'''.encode())
hash = hashlib.sha256('''${{ inputs.namespace-repository }}
${{ inputs.file-dir }}
${{ inputs.build-args }}'''.encode())
with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:
print(f"id={hash.hexdigest()}", file=fh)
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ jobs:
strategy:
fail-fast: false
matrix:
images: [{ repository: "flwr/superlink", file-dir: "src/docker/superlink" }]
images: [
{ repository: "flwr/superlink", file-dir: "src/docker/superlink" },
{ repository: "flwr/supernode", file-dir: "src/docker/supernode" }
]
with:
namespace-repository: ${{ matrix.images.repository }}
file-dir: ${{ matrix.images.file-dir }}
Expand Down

0 comments on commit c1dd02e

Please sign in to comment.