Skip to content

Commit

Permalink
Merge pull request #70 from funbox/improvement/readme-docker
Browse files Browse the repository at this point in the history
Return the conditional Dockerhub publish, update the README
  • Loading branch information
igoradamenko authored Jun 19, 2023
2 parents c153555 + 6887493 commit 0bbf1a8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ defaults:
jobs:
docker:
runs-on: ubuntu-latest
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Check-out repo
uses: actions/checkout@v3
Expand All @@ -42,8 +42,8 @@ jobs:
build-args: |
OPTIMIZT_VERSION=${{ env.OPTIMIZT_VERSION }}
BUILD_DATE=${{ env.BUILD_DATE }}
# fail:
# runs-on: ubuntu-latest
# if: ${{ github.event.workflow_run.conclusion == 'failure' }}
# steps:
# - run: echo "Publish workflow failed"
fail:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- run: echo "Publish workflow failed"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,20 +439,20 @@ brew install pkg-config libpng
### Pull by name

```bash
docker pull 343dev/optimizt
docker pull funbox/optimizt
```

### Pull by name and version

```bash
docker pull 343dev/optimizt:4.1.0
docker pull funbox/optimizt:5.0.1
```

### Build the image

If you want to manually build the Docker image, you need to:

1. Clone this repo and cd into it.
1. Clone this repo and `cd` into it.
2. Run `docker build -t funbox/optimizt .`.

OR:
Expand Down
4 changes: 2 additions & 2 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,13 +446,13 @@ brew install pkg-config libpng
### Pull по названию

```bash
docker pull 343dev/optimizt
docker pull funbox/optimizt
```

### Pull по названию и версии

```bash
docker pull 343dev/optimizt:4.1.0
docker pull funbox/optimizt:5.0.1
```

### Сборка образа
Expand Down

0 comments on commit 0bbf1a8

Please sign in to comment.