Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobs:
docker-deploy:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
needs: test-app
if: github.event_name == 'release' && github.event.action == 'released'
Expand All @@ -106,17 +107,18 @@ jobs:
- name: Dockerhub login
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy Tag
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
file: Dockerfile
push: true
tags: |
safeglobal/safe-cli:${{ github.event.release.tag_name }}
safeglobal/safe-cli:latest
ghcr.io/safe-global/safe-cli:${{ github.event.release.tag_name }}
ghcr.io/safe-global/safe-cli:latest
platforms: |
linux/amd64
linux/arm64
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
![Python 3.12](https://img.shields.io/badge/Python-3.12-blue.svg)
![Python 3.13](https://img.shields.io/badge/Python-3.13-blue.svg)
![Python 3.14](https://img.shields.io/badge/Python-3.14-blue.svg)
[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/safeglobal/safe-cli?label=Docker&sort=semver)](https://hub.docker.com/r/safeglobal/safe-cli)
[![Container image](https://img.shields.io/badge/ghcr.io-safe--global%2Fsafe--cli-0b5d52?logo=github&logoColor=white)](https://github.com/safe-global/safe-cli/pkgs/container/safe-cli)

# Safe CLI

Expand All @@ -20,12 +20,12 @@ It does not rely on Safe{Core} API and can also be used in networks where Safe s
Once Docker is installed on your system, run the following command to create new Safe accounts:

```bash
docker run -it safeglobal/safe-cli safe-creator
docker run -it ghcr.io/safe-global/safe-cli safe-creator
```

You can also run the following command to run the Safe CLI with an existing Safe:
```bash
docker run -it safeglobal/safe-cli safe-cli <checksummed_safe_address> <ethereum_node_url>
docker run -it ghcr.io/safe-global/safe-cli safe-cli <checksummed_safe_address> <ethereum_node_url>
```

## Using Python PIP
Expand Down
Loading