File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 23
23
steps :
24
24
-
25
25
name : Checkout
26
- uses : actions/checkout@v4
26
+ uses : actions/checkout@v5
27
27
with :
28
28
fetch-depth : 1
29
29
-
Original file line number Diff line number Diff line change 13
13
steps :
14
14
-
15
15
name : Checkout
16
- uses : actions/checkout@v4
16
+ uses : actions/checkout@v5
17
17
-
18
18
name : Set up QEMU
19
19
uses : docker/setup-qemu-action@v3
@@ -29,10 +29,10 @@ jobs:
29
29
type=semver,pattern={{major}}
30
30
-
31
31
name : Set up Docker Buildx
32
- uses : docker/setup-buildx-action@v2
32
+ uses : docker/setup-buildx-action@v3
33
33
-
34
34
name : Login to DockerHub
35
- uses : docker/login-action@v2
35
+ uses : docker/login-action@v3
36
36
with :
37
37
username : ${{ secrets.DOCKERHUB_USERNAME }}
38
38
password : ${{ secrets.DOCKERHUB_TOKEN }}
43
43
echo "VERSION=${GITHUB_REF##*/v}" >> $GITHUB_ENV
44
44
-
45
45
name : Build and push
46
- uses : docker/build-push-action@v4
46
+ uses : docker/build-push-action@v6
47
47
with :
48
48
push : true
49
49
context : .
Original file line number Diff line number Diff line change 1
1
# NOTE: Most of the file is borrowed from https://github.com/docker-library/mysql/blob/master/8.0/Dockerfile.debian
2
2
3
- FROM debian:12.10 -slim
3
+ FROM debian:12.11 -slim
4
4
5
5
ARG VERSION=0.0.0
6
+
7
+ # https://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-client_8.0.43-1debian12_amd64.de
8
+ ARG MYSQL_MAJOR=8.0
9
+ ARG MYSQL_VERSION=8.0.43-1debian12
10
+
6
11
ENV VERSION=${VERSION}
12
+ ENV MYSQL_MAJOR=${MYSQL_MAJOR}
13
+ ENV MYSQL_VERSION=${MYSQL_VERSION}
7
14
8
15
LABEL version="${VERSION}" \
9
16
description="MySQL 8 client for export and import databases easily using Docker." \
@@ -78,10 +85,7 @@ RUN set -eux; \
78
85
rm -rf "$GNUPGHOME" \
79
86
&& true
80
87
81
- ENV MYSQL_MAJOR=8.0
82
- ENV MYSQL_VERSION=8.0.43-1debian12
83
-
84
- # https://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-client_8.0.43-1debian12_amd64.deb
88
+ # https://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/
85
89
RUN set -eux \
86
90
&& echo 'deb [ signed-by=/etc/apt/keyrings/mysql.gpg ] http://repo.mysql.com/apt/debian/ bookworm mysql-8.0' > /etc/apt/sources.list.d/mysql.list \
87
91
&& true
You can’t perform that action at this time.
0 commit comments