-
Notifications
You must be signed in to change notification settings - Fork 8
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
Showing
7 changed files
with
1,088 additions
and
20 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Ignore the entire target directory, as it's used for build artifacts | ||
/target | ||
|
||
# Ignore any generated documentation | ||
/doc | ||
|
||
# Ignore temporary files | ||
*.rs.bk | ||
*.rs.swp | ||
*.rs.swo | ||
|
||
# Ignore build scripts output | ||
/build.rs | ||
|
||
# Ignore files for specific editors or IDEs | ||
*.iml | ||
*.idea | ||
.vscode | ||
*.swp | ||
|
||
# Ignore OS generated files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# Ignore backup and log files | ||
*.log | ||
*.bak | ||
*.tmp | ||
*.old | ||
*.swp | ||
|
||
# Ignore git-related files | ||
.git | ||
.gitignore | ||
|
||
Dockerfile |
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,39 @@ | ||
name: Publish Docker Image | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: "Docker image version" | ||
required: true | ||
default: "latest" | ||
|
||
jobs: | ||
build-and-push: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Log in to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
with: | ||
version: latest | ||
driver: docker-container | ||
|
||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
file: runtime.dockerfile | ||
tags: "okm165/swiftness:${{ github.event.inputs.version }}" | ||
platforms: linux/amd64,linux/arm64,linux/arm/v7 | ||
push: true | ||
build-args: | | ||
FEATURES=starknet_with_keccak,blake2s |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.