Skip to content

Commit

Permalink
chore: minor ci tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluisq committed Mar 15, 2022
1 parent c7f0fb1 commit d0f3519
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release-8.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Prepare Docker envs
shell: bash
run: |
echo "VERSION=${GITHUB_REF##*/v}" >> $GITHUB_ENV
-
name: Build and push
uses: docker/build-push-action@v2
Expand All @@ -44,3 +49,5 @@ jobs:
# platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6
file: 8.0/Dockerfile
tags: ${{ steps.meta.outputs.tags }}
build-args: |
VERSION=${{ env.VERSION }}
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ mysqlshow

For more details see official [MySQL 8 Client Programs](https://dev.mysql.com/doc/refman/8.0/en/programs-client.html) documentation.

## Usage

```sh
docker run -it --rm joseluisq/mysql-client mysql --version
# mysql Ver 8.0.28 for Linux on x86_64 (MySQL Community Server - GPL)
```

## User privileges

- Default user (unprivileged) is `mysql`.
Expand Down

0 comments on commit d0f3519

Please sign in to comment.