Skip to content

Commit d0f3519

Browse files
committed
chore: minor ci tweaks
1 parent c7f0fb1 commit d0f3519

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/release-8.0.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
with:
3535
username: ${{ secrets.DOCKERHUB_USERNAME }}
3636
password: ${{ secrets.DOCKERHUB_TOKEN }}
37+
-
38+
name: Prepare Docker envs
39+
shell: bash
40+
run: |
41+
echo "VERSION=${GITHUB_REF##*/v}" >> $GITHUB_ENV
3742
-
3843
name: Build and push
3944
uses: docker/build-push-action@v2
@@ -44,3 +49,5 @@ jobs:
4449
# platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6
4550
file: 8.0/Dockerfile
4651
tags: ${{ steps.meta.outputs.tags }}
52+
build-args: |
53+
VERSION=${{ env.VERSION }}

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ mysqlshow
2525

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

28+
## Usage
29+
30+
```sh
31+
docker run -it --rm joseluisq/mysql-client mysql --version
32+
# mysql Ver 8.0.28 for Linux on x86_64 (MySQL Community Server - GPL)
33+
```
34+
2835
## User privileges
2936

3037
- Default user (unprivileged) is `mysql`.

0 commit comments

Comments
 (0)