-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new release instructions and fix wrong job (#866)
- Loading branch information
Showing
6 changed files
with
59 additions
and
7 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
File renamed without changes.
32 changes: 32 additions & 0 deletions
32
.github/workflows/publish-docker-runtime-tanssi-solochain.yml
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Publish Docker runtime tanssi-solochain | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: runtime tag (ex. runtime-2200-startlight) to publish on docker | ||
required: true | ||
|
||
jobs: | ||
tag-docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Login to DockerHub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Publish runtime docker image | ||
run: | | ||
DOCKER_IMAGE=moondancelabs/starlight | ||
DOCKER_TAG="${{ github.event.inputs.tag }}" | ||
COMMIT=`git rev-list -n 1 '${{ github.event.inputs.tag }}'` | ||
SHA=sha-${COMMIT::8} | ||
echo tagging "${DOCKER_IMAGE}:${SHA}" | ||
docker pull "${DOCKER_IMAGE}:${SHA}" | ||
docker tag "${DOCKER_IMAGE}:${SHA}" "${DOCKER_IMAGE}:${DOCKER_TAG}" | ||
docker push "${DOCKER_IMAGE}:${DOCKER_TAG}" |
2 changes: 1 addition & 1 deletion
2
...workflows/publish-docker-tannsi-relay.yml → ...flows/publish-docker-tanssi-solochain.yml
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Publish Docker Dancelight | ||
name: Publish Docker Solochain | ||
|
||
on: | ||
workflow_dispatch: | ||
|
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
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